commit 2fc1f085730292a2f889551a0b960146bf4b8f63
parent 90946c5e9e098e005ef0bbf68bea243b990feaae
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 23 Nov 2021 17:37:50 +0100
tweaks: fix a parentheses mistake -- found by a warning from Clang
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);