tweaks: fix a parentheses mistake -- found by a warning from Clang

This commit is contained in:
Benno Schulenberg 2021-11-23 17:37:50 +01:00
parent 90946c5e9e
commit 2fc1f08573

View File

@ -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);