diff options
Diffstat (limited to 'nx-X11/lib/X11/XKBMAlloc.c')
-rw-r--r-- | nx-X11/lib/X11/XKBMAlloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nx-X11/lib/X11/XKBMAlloc.c b/nx-X11/lib/X11/XKBMAlloc.c index 8586ae966..c7c138e4d 100644 --- a/nx-X11/lib/X11/XKBMAlloc.c +++ b/nx-X11/lib/X11/XKBMAlloc.c @@ -297,9 +297,7 @@ XkbAddKeyType(XkbDescPtr xkb, if ((map) && (map->types)) { for (i = 0; i < map->num_types; i++) { if (map->types[i].name == name) { - Status status; - - status = + Status status = XkbResizeKeyType(xkb, i, map_count, want_preserve, num_lvls); return (status == Success ? &map->types[i] : NULL); |