summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/compat.c b/compat.c
index 144d417..a058dfb 100644
--- a/compat.c
+++ b/compat.c
@@ -658,6 +658,13 @@ HandleInterpDef(InterpDef * def, XkbDescPtr xkb, unsigned merge,
ACTION("Symbol interpretation ignored\n");
return True;
}
+ if (def->sym == NoSymbol)
+ {
+ ERROR("Couldn't determine keysym\n");
+ ACTION("Symbol interpretation ignored\n");
+ return True;
+ }
+
if (def->merge != MergeDefault)
merge = def->merge;