diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-21 14:07:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-28 14:14:55 +0000 |
| commit | 546bcd66b7a96ab9dfc3e3e598efd604a6e95858 (patch) | |
| tree | a07e5d3d7f0752abe8938cee30d47006d0c1f52f | |
| parent | input: grammar: “an UTF-8” -> “a UTF-8” (diff) | |
input: legacy: use ALEN(mod_param_map)
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1079,7 +1079,7 @@ legacy_kbd_protocol(struct seat *seat, struct terminal *term, [MOD_META | MOD_SHIFT | MOD_ALT | MOD_CTRL] = 16, }; - xassert(keymap_mods < sizeof(mod_param_map) / sizeof(mod_param_map[0])); + xassert(keymap_mods < ALEN(mod_param_map)); int modify_param = mod_param_map[keymap_mods]; xassert(modify_param != 0); |
