From 2fc1f085730292a2f889551a0b960146bf4b8f63 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 23 Nov 2021 17:37:50 +0100 Subject: [PATCH] tweaks: fix a parentheses mistake -- found by a warning from Clang --- src/winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 1933a700..c06b125e 100644 --- a/src/winio.c +++ b/src/winio.c @@ -185,7 +185,7 @@ void read_keys_from(WINDOW *win) /* Before reading the first keycode, display any pending screen updates. */ doupdate(); - if (reveal_cursor && (!spotlighted || ISSET(SHOW_CURSOR || currmenu == MSPELL)) && + if (reveal_cursor && (!spotlighted || ISSET(SHOW_CURSOR) || currmenu == MSPELL) && (LINES > 1 || lastmessage <= HUSH)) curs_set(1);