summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-06-21 14:03:12 +0100
committerDaniel Stone <daniel@fooishbar.org>2011-06-21 14:03:12 +0100
commita2816345e58c88f5806a5c6df310c7d9c62264f0 (patch)
tree13cc2d4c8d263c1e21b6aba606b050f145cfa675 /compat.c
parentc7a42b364f0ca06d9859945fa11664d0e0ea2742 (diff)
downloadxorg-app-xkbcomp-a2816345e58c88f5806a5c6df310c7d9c62264f0.tar.gz
Interp: Don't make modifier lookup failure fatal
If we can't look up a modifier in a SymInterp declaration, don't make that fatal enough to kill the entire file, just ignore it and move on. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat.c b/compat.c
index 03c29ef..144d417 100644
--- a/compat.c
+++ b/compat.c
@@ -656,7 +656,7 @@ HandleInterpDef(InterpDef * def, XkbDescPtr xkb, unsigned merge,
{
ERROR("Couldn't determine matching modifiers\n");
ACTION("Symbol interpretation ignored\n");
- return False;
+ return True;
}
if (def->merge != MergeDefault)
merge = def->merge;