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

master
Benno Schulenberg 2021-11-23 17:37:50 +01:00
parent 90946c5e9e
commit 2fc1f08573
1 changed files with 1 additions and 1 deletions

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