mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
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:
parent
b4a5aedc6c
commit
018a8e12ca
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user