aboutsummaryrefslogtreecommitdiff
path: root/xkbcomp/compat.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-10-31 08:37:31 +0100
committermarha <marha@users.sourceforge.net>2012-10-31 08:37:31 +0100
commit2a10674ff619f042c580e69e7160d834903b4273 (patch)
tree70021ac64c7b0bed2354bbc1908e881c3f9adede /xkbcomp/compat.c
parent5bda4b6582522d21b15d62c5c76c71104e924cbc (diff)
downloadvcxsrv-2a10674ff619f042c580e69e7160d834903b4273.tar.gz
vcxsrv-2a10674ff619f042c580e69e7160d834903b4273.tar.bz2
vcxsrv-2a10674ff619f042c580e69e7160d834903b4273.zip
Converted error message which wasn't realy an error message to a warning
Also print the symbol name in the warning message
Diffstat (limited to 'xkbcomp/compat.c')
-rw-r--r--xkbcomp/compat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xkbcomp/compat.c b/xkbcomp/compat.c
index 2b0014244..526224da1 100644
--- a/xkbcomp/compat.c
+++ b/xkbcomp/compat.c
@@ -655,14 +655,13 @@ HandleInterpDef(InterpDef * def, XkbDescPtr xkb, unsigned merge,
if (!ResolveStateAndPredicate(def->match, &pred, &mods, info))
{
- ERROR("Couldn't determine matching modifiers\n");
+ if (warningLevel > 0)
+ WARN1("Couldn't determine matching modifiers\n");
ACTION("Symbol interpretation ignored\n");
return True;
}
if (def->ignore)
{
- ERROR("Couldn't lookup keysym\n");
- ACTION("Symbol interpretation ignored\n");
return True;
}