aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cerrors.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Cerrors.ml')
-rw-r--r--cparser/Cerrors.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Cerrors.ml b/cparser/Cerrors.ml
index 804d3127..a38cceee 100644
--- a/cparser/Cerrors.ml
+++ b/cparser/Cerrors.ml
@@ -200,7 +200,7 @@ let classify_warning w =
SuppressedMsg,None
let cprintf fmt c =
- if Unix.isatty Unix.stderr && !color_diagnostics then
+ if !color_diagnostics then
fprintf fmt c
else
ifprintf fmt c