Fix cleanup error in names allocation
A conditional got reversed during the coding style cleanup.master
parent
c38cdc5ded
commit
51eff3d939
|
@ -143,7 +143,7 @@ XkbcAllocNames(XkbcDescPtr xkb, unsigned which, int nTotalRG, int nTotalAliases)
|
|||
}
|
||||
}
|
||||
|
||||
if ((which & XkbKeyNamesMask) && names->keys) {
|
||||
if ((which & XkbKeyNamesMask) && !names->keys) {
|
||||
if ((!XkbIsLegalKeycode(xkb->min_key_code)) ||
|
||||
(!XkbIsLegalKeycode(xkb->max_key_code)) ||
|
||||
(xkb->max_key_code < xkb->min_key_code))
|
||||
|
|
Loading…
Reference in New Issue