Commit e1f2a24f authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

xlib: remove superflous parens

parent 0934b1e6
......@@ -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;
}
}
......
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