nano

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

commit 8234c22c1e07b2b7e1e6d3e03774c98c35ab1a34
parent 496dad696cc3eae2f34e5ba3f8b599852c2e6d7c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed, 10 Nov 2021 09:11:04 +0100

tweaks: avoid a compiler warning with --enable-tiny --enable-linenumbers

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

diff --git a/src/nano.c b/src/nano.c @@ -1254,8 +1254,9 @@ void confirm_margin(void) #ifndef NANO_TINY /* Ensure a proper starting column for the first screen row. */ ensure_firstcolumn_is_aligned(); - focusing = keep_focus; #endif + focusing = keep_focus; + /* The margin has changed -- schedule a full refresh. */ refresh_needed = TRUE; }