Commit 1b05251a authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Keyboard.c: simplify over-specific if

parent 6186383e
...@@ -869,8 +869,7 @@ XkbError: ...@@ -869,8 +869,7 @@ XkbError:
XkbInitKeyboardDeviceStruct((void *)pDev, &names, &keySyms, modmap, XkbInitKeyboardDeviceStruct((void *)pDev, &names, &keySyms, modmap,
nxagentBell, nxagentChangeKeyboardControl); nxagentBell, nxagentChangeKeyboardControl);
if (!nxagentKeyboard || if (!nxagentKeyboard || strcmp(nxagentKeyboard, "query") == 0)
(nxagentKeyboard && (strcmp(nxagentKeyboard, "query") == 0)))
{ {
goto XkbError; goto XkbError;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment