From 018a8e12cae481342d3efb9fce6d6dc9fa12a799 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 10 Apr 2021 11:57:06 +0200 Subject: [PATCH] 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. --- src/winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 6f14c6c9..32b6fa8c 100644 --- a/src/winio.c +++ b/src/winio.c @@ -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);