tweaks: remove a superfluous condition
CONST_UPDATE does not need to influence the delay for blanking the statusbar; it is enough when it simply prevents it.master
parent
73aa48b772
commit
681f042326
10
src/winio.c
10
src/winio.c
|
@ -2090,15 +2090,15 @@ void statusbar(const char *msg, ...)
|
||||||
/* Push the message to the screen straightaway. */
|
/* Push the message to the screen straightaway. */
|
||||||
doupdate();
|
doupdate();
|
||||||
|
|
||||||
/* If we're doing quick statusbar blanking, and constant cursor
|
/* If we're doing quick statusbar blanking, blank it after just one
|
||||||
* position display is off, blank the statusbar after only one
|
|
||||||
* keystroke. Otherwise, blank it after twenty-six keystrokes, as
|
* keystroke. Otherwise, blank it after twenty-six keystrokes, as
|
||||||
* Pico does. */
|
* Pico does. */
|
||||||
statusblank =
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
ISSET(QUICK_BLANK) && !ISSET(CONST_UPDATE) ? 1 :
|
if (ISSET(QUICK_BLANK))
|
||||||
|
statusblank = 1;
|
||||||
|
else
|
||||||
#endif
|
#endif
|
||||||
26;
|
statusblank = 26;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Display the shortcut list corresponding to menu on the last two rows
|
/* Display the shortcut list corresponding to menu on the last two rows
|
||||||
|
|
Loading…
Reference in New Issue