diff --git a/src/network/stk_host.cpp b/src/network/stk_host.cpp index 10f7ede5c..796c37e33 100644 --- a/src/network/stk_host.cpp +++ b/src/network/stk_host.cpp @@ -634,8 +634,7 @@ void STKHost::setErrorMessage(const irr::core::stringw &message) { if (!message.empty()) { - irr::core::stringc s(message.c_str()); - Log::error("STKHost", "%s", s.c_str()); + Log::error("STKHost", "%s", StringUtils::wideToUtf8(message).c_str()); } m_error_message = message; } // setErrorMessage