summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--symbols.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/symbols.c b/symbols.c
index 6fa7742..803de7e 100644
--- a/symbols.c
+++ b/symbols.c
@@ -968,7 +968,11 @@ AddSymbolsToKey(KeyInfo * key,
key->symsDefined |= (1 << ndx);
for (i = 0; i < nSyms; i++) {
if (!LookupKeysym(value->value.list.syms[i], &key->syms[ndx][i])) {
- WARN("Could not resolve keysym %s\n", value->value.list.syms[i]);
+ if (warningLevel > 0)
+ {
+ WARN("Could not resolve keysym %s\n",
+ value->value.list.syms[i]);
+ }
key->syms[ndx][i] = NoSymbol;
}
}