aboutsummaryrefslogtreecommitdiff
path: root/tty-keys.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-03 21:02:26 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-03 21:02:26 +0100
commit4d505574dc515d6e554b3f37e9aa5bdb8930c6cb (patch)
treef1b3e62f64f9fa6e2f03d5be0ddefbef0408f4fd /tty-keys.c
parenta14512e23ef902ee0e1ef3188069f4a747dbbb6d (diff)
parente8e4f4ec3e4de0bd0e4eb2a7ee995fb6f5f7f937 (diff)
downloadrtmux-4d505574dc515d6e554b3f37e9aa5bdb8930c6cb.tar.gz
rtmux-4d505574dc515d6e554b3f37e9aa5bdb8930c6cb.tar.bz2
rtmux-4d505574dc515d6e554b3f37e9aa5bdb8930c6cb.zip
Merge branch 'obsd-master'
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);