mirror of
https://github.com/glest/glest-source.git
synced 2025-08-28 10:19:55 +02:00
- do not show error type message when checking existence of language values
This commit is contained in:
@@ -100,7 +100,7 @@ bool Lang::hasString(const string &s, string language) {
|
||||
}
|
||||
catch(exception &ex) {
|
||||
if(strings.getpath() != "") {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] for language [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),language.c_str());
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] for language [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),language.c_str());
|
||||
}
|
||||
}
|
||||
return hasString;
|
||||
|
Reference in New Issue
Block a user