diff options
Diffstat (limited to 'nx-X11/programs/Xserver/xkb/XKBMAlloc.c')
-rw-r--r-- | nx-X11/programs/Xserver/xkb/XKBMAlloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/xkb/XKBMAlloc.c b/nx-X11/programs/Xserver/xkb/XKBMAlloc.c index 66b20b89e..dbd9b25a0 100644 --- a/nx-X11/programs/Xserver/xkb/XKBMAlloc.c +++ b/nx-X11/programs/Xserver/xkb/XKBMAlloc.c @@ -30,7 +30,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <config.h> #endif - #include <stdio.h> #include <nx-X11/X.h> #include <nx-X11/Xproto.h> @@ -39,7 +38,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <nx-X11/keysym.h> #include <xkbsrv.h> - /***====================================================================***/ Status @@ -298,7 +296,7 @@ XkbClientMapPtr map; } } } - if ((!map)||(!map->types)||(!map->num_types<XkbNumRequiredTypes)) { + if ((!map)||(!map->types)||(!(map->num_types<XkbNumRequiredTypes))) { tmp= XkbNumRequiredTypes+1; if (XkbAllocClientMap(xkb,XkbKeyTypesMask,tmp)!=Success) return NULL; |