summaryrefslogtreecommitdiffstats
path: root/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'color.c')
-rw-r--r--color.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/color.c b/color.c
index 69a93776..8b57f043 100644
--- a/color.c
+++ b/color.c
@@ -754,9 +754,14 @@ int mutt_parse_mono(BUFFER *buff, BUFFER *s, unsigned long data, BUFFER *err)
{
int dry_run = 0;
+#ifdef HAVE_COLOR
if(option(OPTNOCURSES) || has_colors())
dry_run = 1;
-
+#else
+ if(option(OPTNOCURSES))
+ dry_run = 1;
+#endif
+
return _mutt_parse_color(buff, s, err, parse_attr_spec, dry_run);
}