[X2Go-Commits] [nx-libs] 27/54: xlib: remove superflous parens

git-admin at x2go.org git-admin at x2go.org
Sun Mar 24 10:05:03 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository nx-libs.

commit e1f2a24f637cb1727667f68076fbe66fe9c1660e
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Fri Jan 18 22:44:21 2019 +0100

    xlib: remove superflous parens
---
 nx-X11/lib/src/xkb/XKBBind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nx-X11/lib/src/xkb/XKBBind.c b/nx-X11/lib/src/xkb/XKBBind.c
index c679dc5..068e8f2 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;
             }
         }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list