commit 48a19178b815e931398d50cb7f41224b68a4bb27
parent e542e5943ea249f5f0ebf66d02bedf6e45c2aca7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 8 Dec 2021 10:00:13 +0100
build: fix compilation when configured with --disable-color
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nano.c b/src/nano.c
@@ -1110,7 +1110,7 @@ void toggle_this(int flag)
refresh_needed = TRUE;
break;
#endif
-#ifdef ENABLE_NANORC
+#if defined(ENABLE_NANORC) && defined(ENABLE_COLOR)
case TABS_TO_SPACES:
if (openfile->syntax && openfile->syntax->tab) {
statusline(AHEM, _("Current syntax determines Tab"));