mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +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);
|
vsnprintf(compound, MAXCHARLEN * COLS + 1, msg, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
#ifdef ENABLE_MULTIBUFFER
|
#if !defined(NANO_TINY) && defined(ENABLE_MULTIBUFFER)
|
||||||
if (!we_are_running && importance == ALERT && openfile && !openfile->fmt &&
|
if (!we_are_running && importance == ALERT && openfile && !openfile->fmt &&
|
||||||
!openfile->errormessage && openfile->next != openfile)
|
!openfile->errormessage && openfile->next != openfile)
|
||||||
openfile->errormessage = copy_of(compound);
|
openfile->errormessage = copy_of(compound);
|
||||||
|
Loading…
Reference in New Issue
Block a user