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