diff --git a/source/glest_game/global/lang.cpp b/source/glest_game/global/lang.cpp index 7f2db2b2..e99bf580 100644 --- a/source/glest_game/global/lang.cpp +++ b/source/glest_game/global/lang.cpp @@ -402,7 +402,7 @@ string Lang::get(const string &s, string uselanguage, bool fallbackToDefault) { if(strings.getpath() != "") { if(fallbackToDefault == false || SystemFlags::VERBOSE_MODE_ENABLED) { if(GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false) { - SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] uselanguage [%s] text [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),uselanguage.c_str(),s.c_str()); + if(SystemFlags::VERBOSE_MODE_ENABLED) SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] uselanguage [%s] text [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),uselanguage.c_str(),s.c_str()); } } }