mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Logging cleanup.
This commit is contained in:
@@ -592,7 +592,7 @@ void CTextInput::numberFilter(std::string & text, const std::string & oldText, i
|
||||
catch(boost::bad_lexical_cast &)
|
||||
{
|
||||
//Should never happen. Unless I missed some cases
|
||||
logGlobal->warnStream() << "Warning: failed to convert "<< text << " to number!";
|
||||
logGlobal->warn("Warning: failed to convert %s to number!", text);
|
||||
text = oldText;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user