mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
tweaks: exclude another bug check from the tiny version
This commit is contained in:
parent
4e637cd1c7
commit
57390cff04
@ -2211,11 +2211,13 @@ void statusline(message_type importance, const char *msg, ...)
|
||||
(lastmessage == MILD && importance == HUSH))
|
||||
return;
|
||||
|
||||
#ifndef NANO_TINY
|
||||
/* Curses mode shouldn't be off when trying to write to the status bar. */
|
||||
if (isendwin()) {
|
||||
fprintf(stderr, "Out of curses -- please report a bug\n");
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* If the ALERT status has been reset, reset the counter. */
|
||||
if (lastmessage == HUSH)
|
||||
|
Loading…
Reference in New Issue
Block a user