build: fix compilation for --enable-tiny plus --enable-multibuffer

This will not show the error messages for other buffers when using
a tiny build, but... one cannot have everything.
This commit is contained in:
Benno Schulenberg 2021-04-10 11:57:06 +02:00
parent b4a5aedc6c
commit 018a8e12ca

View File

@ -2251,7 +2251,7 @@ void statusline(message_type importance, const char *msg, ...)
vsnprintf(compound, MAXCHARLEN * COLS + 1, msg, ap);
va_end(ap);
#ifdef ENABLE_MULTIBUFFER
#if !defined(NANO_TINY) && defined(ENABLE_MULTIBUFFER)
if (!we_are_running && importance == ALERT && openfile && !openfile->fmt &&
!openfile->errormessage && openfile->next != openfile)
openfile->errormessage = copy_of(compound);