nano

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

commit 405c66e86447f396a7ee59e8badeea009883b7d3
parent e5df84a9edbd7236fe696a6c84f19ac782870460
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  8 Aug 2022 11:28:38 +0200

tweaks: delete a flag that is no longer used

Suspension is always enabled since version 6.0.

(Also, swap two conditions, to match identical pairs elsewhere.)

Diffstat:
Msrc/definitions.h | 1-
Msrc/winio.c | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/definitions.h b/src/definitions.h @@ -319,7 +319,6 @@ enum { CASE_SENSITIVE, CONSTANT_SHOW, NO_HELP, - SUSPENDABLE, NO_WRAP, AUTOINDENT, VIEW_MODE, diff --git a/src/winio.c b/src/winio.c @@ -2267,7 +2267,7 @@ void statusline(message_type importance, const char *msg, ...) return; } -#if !defined(NANO_TINY) && defined(ENABLE_MULTIBUFFER) +#if defined(ENABLE_MULTIBUFFER) && !defined(NANO_TINY) if (!we_are_running && importance == ALERT && openfile && !openfile->fmt && !openfile->errormessage && openfile->next != openfile) openfile->errormessage = copy_of(compound);