commit abafc2ba149edd8ddae67e1c8ce7afeec320fb51
parent 1f0eb8d91526d69748188179269735934f737489
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 8 Dec 2021 12:11:10 +0100
tweaks: reduce redundancy (--enable-color implies --enable-nanorc)
(To make use of color, syntaxes are needed,
and syntaxes require a nanorc for their definition.)
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git 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"));