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

This commit is contained in:
Benno Schulenberg 2021-12-08 10:00:13 +01:00
parent e542e5943e
commit 48a19178b8
1 changed files with 1 additions and 1 deletions

View File

@ -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"));