aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-01-18 22:44:21 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 12:02:25 +0100
commite1f2a24f637cb1727667f68076fbe66fe9c1660e (patch)
tree4ceb38dac034f13e73b018ccd063b7258ef05af6 /nx-X11
parent0934b1e673d002c69a0c6fa846931df62acd5fb8 (diff)
downloadnx-libs-e1f2a24f637cb1727667f68076fbe66fe9c1660e.tar.gz
nx-libs-e1f2a24f637cb1727667f68076fbe66fe9c1660e.tar.bz2
nx-libs-e1f2a24f637cb1727667f68076fbe66fe9c1660e.zip
xlib: remove superflous parens
Diffstat (limited to 'nx-X11')
-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;
}
}