diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index 50feee990c26d4492db8998948fd9c44475ef30c..250b396717a018bd3556076c7496e7458b5582ba 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -232,7 +232,7 @@ void Msg::Warning(const char *fmt, ...) #if defined(HAVE_FLTK) if(FlGui::available()){ FlGui::instance()->check(); - std::string tmp = std::string("@C1@.") + "Warning : " + str; + std::string tmp = std::string("@C5@.") + "Warning : " + str; FlGui::instance()->addMessage(tmp.c_str()); } #endif @@ -300,8 +300,10 @@ void Msg::Direct(int level, const char *fmt, ...) if(FlGui::available()){ FlGui::instance()->check(); std::string tmp; - if(level < 3) + if(level < 2) tmp = std::string("@C1@.") + str; + else if(level < 3) + tmp = std::string("@C5@.") + str; else tmp = std::string("@C4@.") + str; FlGui::instance()->addMessage(tmp.c_str());