nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 018a8e12cae481342d3efb9fce6d6dc9fa12a799
parent b4a5aedc6c97c21b6f2f5472422e9b7536ac345c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat, 10 Apr 2021 11:57:06 +0200

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.

Diffstat:
Msrc/winio.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);