nano

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

commit e542e5943ea249f5f0ebf66d02bedf6e45c2aca7
parent 44836e77bef6a526801f4eaf8a9d88e49aa39f12
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed,  8 Dec 2021 09:46:02 +0100

build: fix compilation when configured with --disable-nanorc

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

diff --git a/src/nano.c b/src/nano.c @@ -1110,6 +1110,7 @@ void toggle_this(int flag) refresh_needed = TRUE; break; #endif +#ifdef ENABLE_NANORC case TABS_TO_SPACES: if (openfile->syntax && openfile->syntax->tab) { statusline(AHEM, _("Current syntax determines Tab")); @@ -1117,6 +1118,7 @@ void toggle_this(int flag) return; } break; +#endif #ifdef ENABLE_MOUSE case USE_MOUSE: mouse_init();