Skip to content

Commit

Permalink
vmod: Fix merge mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wismill committed Jan 15, 2025
1 parent ec9654b commit 892a80a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xkbcomp/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ HandleIncludeCompatMap(CompatInfo *info, IncludeStmt *include)
next_incl.default_interp = info->default_interp;
next_incl.default_led = info->default_led;

HandleCompatMapFile(&next_incl, file, MERGE_OVERRIDE);
HandleCompatMapFile(&next_incl, file, stmt->merge);

MergeIncludedCompatMaps(&included, &next_incl, stmt->merge);

Expand Down
2 changes: 1 addition & 1 deletion src/xkbcomp/symbols.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ HandleIncludeSymbols(SymbolsInfo *info, IncludeStmt *include)
next_incl.explicit_group = info->explicit_group;
}

HandleSymbolsFile(&next_incl, file, MERGE_OVERRIDE);
HandleSymbolsFile(&next_incl, file, stmt->merge);

MergeIncludedSymbols(&included, &next_incl, stmt->merge);

Expand Down

0 comments on commit 892a80a

Please sign in to comment.