From 422bf68e4a5f76a161d0697ff54c0c827ed15bd8 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 6 Aug 2012 08:26:26 +0000 Subject: [PATCH] tweak --- Common/GmshMessage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index 6d762faaf2..333f22e3a7 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -376,7 +376,7 @@ void Msg::Direct(int level, const char *fmt, ...) if(CTX::instance()->terminal){ const char *c0 = "", *c1 = ""; - if(!streamIsFile(stderr) && streamIsVT100(stderr)){ + if(!streamIsFile(stdout) && streamIsVT100(stdout)){ c0 = "\33[34m"; c1 = "\33[0m"; // blue } fprintf(stdout, "%s%s%s\n", c0, str, c1); -- GitLab