nano

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

commit a521ac4ae7b33deb6a9a1c4cc8edbf2dd0bc352f
parent d972c170503670bc68db467d92289d1a8701100b
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 27 May 2019 10:11:22 +0200

tweaks: exclude a bug check from the tiny version

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

diff --git a/src/nano.c b/src/nano.c @@ -283,12 +283,12 @@ void extract(linestruct *top, size_t top_x, linestruct *bot, size_t bot_x) #ifndef NANO_TINY bool mark_inside = FALSE; bool same_line = FALSE; -#endif if (top == bot && top_x == bot_x) { statusline(ALERT, "Extracting nothing -- please report a bug"); return; } +#endif /* Partition the buffer so that it contains only the text from * (top, top_x) to (bot, bot_x), keep track of whether the top of