From abafc2ba149edd8ddae67e1c8ce7afeec320fb51 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 8 Dec 2021 12:11:10 +0100 Subject: [PATCH] tweaks: reduce redundancy (--enable-color implies --enable-nanorc) (To make use of color, syntaxes are needed, and syntaxes require a nanorc for their definition.) --- src/nano.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/nano.c b/src/nano.c index e932f0d7..9f614c6b 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1109,8 +1109,6 @@ void toggle_this(int flag) precalc_multicolorinfo(); refresh_needed = TRUE; break; -#endif -#if defined(ENABLE_NANORC) && defined(ENABLE_COLOR) case TABS_TO_SPACES: if (openfile->syntax && openfile->syntax->tab) { statusline(AHEM, _("Current syntax determines Tab"));