diff options
author | nicm <nicm> | 2019-05-03 18:00:19 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-03 18:00:19 +0000 |
commit | 84e46525136481ba5bd60e73ae2fffdf74c0417c (patch) | |
tree | 7c73cfc24c8c18c33ff304aca67aeeaec8f0fa2b | |
parent | fc3d85e34bf323762ac000b44bfd4a6b33aad37c (diff) | |
download | rtmux-84e46525136481ba5bd60e73ae2fffdf74c0417c.tar.gz rtmux-84e46525136481ba5bd60e73ae2fffdf74c0417c.tar.bz2 rtmux-84e46525136481ba5bd60e73ae2fffdf74c0417c.zip |
Use the right index for user-keys.
-rw-r--r-- | tty-keys.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |