From e542e5943ea249f5f0ebf66d02bedf6e45c2aca7 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 8 Dec 2021 09:46:02 +0100 Subject: [PATCH] build: fix compilation when configured with --disable-nanorc --- src/nano.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nano.c b/src/nano.c index 2ca30973..012858ef 100644 --- 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();