Commit b7694b0b authored by Erkki Seppälä's avatar Erkki Seppälä Committed by Ulrich Sibiller

Comparing array against NULL is not useful "&xkb->server->vmods != NULL"

Removed superfluous comparison. Reviewed-by: 's avatarDirk Wallenstein <halsmit@t-online.de> Signed-off-by: 's avatarErkki Seppälä <erkki.seppala@vincit.fi> Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
parent 3147ddbf
......@@ -619,7 +619,7 @@ KeySym * syms;
XkbApplyCompatMapToKey(xkb,key,changes);
}
if ((xkb->server->vmods!=NULL)&&(xkb->map->modmap!=NULL)&&(changes)&&
if ((xkb->map->modmap!=NULL)&&(changes)&&
(changes->map.changed&(XkbVirtualModMapMask|XkbModifierMapMask))) {
unsigned char newVMods[XkbNumVirtualMods];
register unsigned bit,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