diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-14 08:32:35 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-14 08:32:35 +0000 |
commit | ec6a0838f08027c7cfc4681c2ecc0748a9963c56 (patch) | |
tree | 99b8ca6d0af0242c14d963f69d88ee9668e967ea /color.c | |
parent | 592e24e900a1112349fee614b521c8b1d93bec29 (diff) |
Adding some necessary ifdefs to color.c, From
Irving_Wolfe@wolfe.net.
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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); } |