mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(get_key_code): fix coding style.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
f30b0d35d5
commit
444ec92d81
@ -1750,7 +1750,7 @@ get_key_code (int no_delay)
|
||||
while (d == ESC_CHAR)
|
||||
d = ALT (*pending_keys++);
|
||||
|
||||
bad_seq = (*pending_keys != ESC_CHAR && *pending_keys != 0);
|
||||
bad_seq = (*pending_keys != ESC_CHAR && *pending_keys != '\0');
|
||||
if (*pending_keys == '\0' || bad_seq)
|
||||
pending_keys = seq_append = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user