diff options
Diffstat (limited to 'symbols.c')
-rw-r--r-- | symbols.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } } |