commit 5251ce1b20e7e2b6d886136ef0bce164b8788fc7
parent b3780aab33d5ee1f4918591971f3c013f1d67054
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sat, 1 Jun 2024 09:30:44 +0200
tweaks: simplify a condition, to match the same condition five lines back
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) {