aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-29 13:20:30 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 08:11:41 +0200
commit365fa4f3e7f7af34f919290ae3a19f6806d09ffb (patch)
tree2926828195e43367dc29d46ba5120985541273c8 /nx-X11
parented61433e1fda7bf83f912d6d7b750b77f47dce07 (diff)
downloadnx-libs-365fa4f3e7f7af34f919290ae3a19f6806d09ffb.tar.gz
nx-libs-365fa4f3e7f7af34f919290ae3a19f6806d09ffb.tar.bz2
nx-libs-365fa4f3e7f7af34f919290ae3a19f6806d09ffb.zip
nx-X11/lib/X11/XKBMisc.c: Drop conditional always evaluating as True.
Backported from X.org, patch found in janitor cleanup commit... commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Wed Jan 28 20:31:42 2009 -0200
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/lib/X11/XKBMisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/XKBMisc.c b/nx-X11/lib/X11/XKBMisc.c
index 04ac0c7ea..d1f75a93a 100644
--- a/nx-X11/lib/X11/XKBMisc.c
+++ b/nx-X11/lib/X11/XKBMisc.c
@@ -666,7 +666,7 @@ register int i;
int width,nOldGroups,oldWidth,newTypes[XkbNumKbdGroups];
if ((!xkb) || (!XkbKeycodeInRange(xkb,key)) || (!xkb->map) ||
- (!xkb->map->types)||(!newTypes)||((groups&XkbAllGroupsMask)==0)||
+ (!xkb->map->types)||((groups&XkbAllGroupsMask)==0)||
(nGroups>XkbNumKbdGroups)) {
return BadMatch;
}