diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/keyevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 7af3e0d..09b520d 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -177,7 +177,7 @@ void init_keyevents(void) { read = sscanf(line, "%31s %31s %31s %31s\n", (char *) &action, (char *) &k1, (char* ) &k2, (char *) &k3); - if ((read == EOF) || (read < 2) || (line[0] == '#')) + if ((read == EOF) || (read == 0) || (line[0] == '#')) continue; if (!strcmp(action, "menu_close")) |