Fix error log encoding
This commit is contained in:
parent
7720ab45f5
commit
136b649716
@ -634,8 +634,7 @@ void STKHost::setErrorMessage(const irr::core::stringw &message)
|
|||||||
{
|
{
|
||||||
if (!message.empty())
|
if (!message.empty())
|
||||||
{
|
{
|
||||||
irr::core::stringc s(message.c_str());
|
Log::error("STKHost", "%s", StringUtils::wideToUtf8(message).c_str());
|
||||||
Log::error("STKHost", "%s", s.c_str());
|
|
||||||
}
|
}
|
||||||
m_error_message = message;
|
m_error_message = message;
|
||||||
} // setErrorMessage
|
} // setErrorMessage
|
||||||
|
Loading…
Reference in New Issue
Block a user