aboutsummaryrefslogtreecommitdiff
path: root/tty-keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-keys.c')
-rw-r--r--tty-keys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tty-keys.c b/tty-keys.c
index 1aecbcb2..90f34877 100644
--- a/tty-keys.c
+++ b/tty-keys.c
@@ -429,6 +429,7 @@ tty_keys_build(struct tty *tty)
if (o != NULL) {
a = options_array_first(o);
while (a != NULL) {
+ i = options_array_item_index(a);
ov = options_array_item_value(a);
tty_keys_add(tty, ov->string, KEYC_USER + i);
a = options_array_next(a);