From 5251ce1b20e7e2b6d886136ef0bce164b8788fc7 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 1 Jun 2024 09:30:44 +0200 Subject: [PATCH] tweaks: simplify a condition, to match the same condition five lines back --- src/winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 54cffd9a..e5a61546 100644 --- a/src/winio.c +++ b/src/winio.c @@ -409,7 +409,7 @@ int get_input(WINDOW *frame) else if (frame) read_keys_from(frame); - if (waiting_codes > 0) { + if (waiting_codes) { waiting_codes--; #ifdef ENABLE_NANORC if (*nextcodes == MORE_PLANTS) {