Fix map->num_types check in XkbAddKeyType()
Check is intended to ensure we allocate at least XkbNumRequiredTypes
in map, but was accidentally marked with a ! causing the wrong check.
Reported-by:
Harms <wharms@bfs,de>
Reviewed-by:
Matthieu Herrb <matthieu@herrb.eu>
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by:
Ulrich Sibiller <uli42@gmx.de>
Showing
Please
register
or
sign in
to comment