diff options
-rw-r--r-- | nx-X11/lib/X11/XKB.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/XKB.c b/nx-X11/lib/X11/XKB.c index 008609608..a62e24282 100644 --- a/nx-X11/lib/X11/XKB.c +++ b/nx-X11/lib/X11/XKB.c @@ -462,7 +462,7 @@ XkbKTMapEntryPtr entry = NULL; if (map_rtrn!=NULL) { bzero(map_rtrn,type->mods.mask+1); for (i=0;i<type->map_count;i++) { - if (entry->active) { + if (entry && entry->active) { map_rtrn[type->map[i].mods.mask]= type->map[i].level; } } |