diff --git a/src/xkbcomp/symbols.c b/src/xkbcomp/symbols.c index a48edbb..90e5da0 100644 --- a/src/xkbcomp/symbols.c +++ b/src/xkbcomp/symbols.c @@ -1585,7 +1585,7 @@ FindAutomaticType(struct xkb_keymap *keymap, xkb_level_index_t width, *typeNameRtrn = xkb_atom_intern(keymap->ctx, "FOUR_LEVEL"); /* XXX: why not set autoType here? */ } - return ((width >= 0) && (width <= 4)); + return width <= 4; } /**