tweaks: exclude another bug check from the tiny version

master
Benno Schulenberg 2019-05-29 11:24:25 +02:00
parent 4e637cd1c7
commit 57390cff04
1 changed files with 2 additions and 0 deletions

View File

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