diff --git a/src/winio.c b/src/winio.c index 83d129c0..0f770ebe 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2230,7 +2230,7 @@ void statusline(message_type importance, const char *msg, ...) va_end(ap); #ifdef ENABLE_MULTIBUFFER - if (!we_are_running && importance == ALERT && + if (!we_are_running && importance == ALERT && openfile && !openfile->errormessage && openfile->next != openfile) openfile->errormessage = copy_of(compound); #endif