aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--handlekeys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/handlekeys.c b/handlekeys.c
index 4ce14f5..3340a39 100644
--- a/handlekeys.c
+++ b/handlekeys.c
@@ -304,6 +304,7 @@ void handle_keys(long extra, int (*handle_sequence)(long extra, char *sequence),
304 // For a real timeout checked Esc, buffer is now empty, so this for loop wont find it anyway. 304 // For a real timeout checked Esc, buffer is now empty, so this for loop wont find it anyway.
305 // While it's true we could avoid it by checking, the user already had to wait for a time out, and this loop wont take THAT long. 305 // While it's true we could avoid it by checking, the user already had to wait for a time out, and this loop wont take THAT long.
306 for (j = 0; keys[j].code; j++) // Search for multibyte keys and control keys. 306 for (j = 0; keys[j].code; j++) // Search for multibyte keys and control keys.
307 for (j = 0; j < (sizeof(keys) / sizeof(*keys)); j++)
307 { 308 {
308 if (strcmp(keys[j].code, buffer) == 0) 309 if (strcmp(keys[j].code, buffer) == 0)
309 { 310 {