aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/src/xkb/XKBBind.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/src/xkb/XKBBind.c')
-rw-r--r--nx-X11/lib/src/xkb/XKBBind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/xkb/XKBBind.c b/nx-X11/lib/src/xkb/XKBBind.c
index c679dc552..068e8f2a0 100644
--- a/nx-X11/lib/src/xkb/XKBBind.c
+++ b/nx-X11/lib/src/xkb/XKBBind.c
@@ -165,7 +165,7 @@ XKeysymToKeycode(Display *dpy, KeySym ks)
for (i = dpy->min_keycode; i <= dpy->max_keycode; i++) {
if (j < (int) XkbKeyNumSyms(xkb, i)) {
gotOne = 1;
- if ((XkbKeySym(xkb, i, j) == ks))
+ if (XkbKeySym(xkb, i, j) == ks)
return i;
}
}