diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-01-18 22:44:21 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-03-01 12:02:25 +0100 |
commit | e1f2a24f637cb1727667f68076fbe66fe9c1660e (patch) | |
tree | 4ceb38dac034f13e73b018ccd063b7258ef05af6 /nx-X11/lib/src | |
parent | 0934b1e673d002c69a0c6fa846931df62acd5fb8 (diff) | |
download | nx-libs-e1f2a24f637cb1727667f68076fbe66fe9c1660e.tar.gz nx-libs-e1f2a24f637cb1727667f68076fbe66fe9c1660e.tar.bz2 nx-libs-e1f2a24f637cb1727667f68076fbe66fe9c1660e.zip |
xlib: remove superflous parens
Diffstat (limited to 'nx-X11/lib/src')
-rw-r--r-- | nx-X11/lib/src/xkb/XKBBind.c | 2 |
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; } } |