diff options
Diffstat (limited to 'src/xkbcomp/rules.c')
-rw-r--r-- | src/xkbcomp/rules.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xkbcomp/rules.c b/src/xkbcomp/rules.c index 80a1372..3359552 100644 --- a/src/xkbcomp/rules.c +++ b/src/xkbcomp/rules.c @@ -1104,8 +1104,9 @@ xkb_components_from_rules(struct xkb_context *ctx, char *path = NULL; struct matcher *matcher = NULL; struct matched_sval *mval; + unsigned int offset = 0; - file = FindFileInXkbPath(ctx, rmlvo->rules, FILE_TYPE_RULES, &path); + file = FindFileInXkbPath(ctx, rmlvo->rules, FILE_TYPE_RULES, &path, &offset); if (!file) goto err_out; |