From d110834ee7c5159fd499ddc4ec38e7eb43f2f538 Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 4 Sep 2016 16:02:54 +0800 Subject: [PATCH] Fix log message in Networking::Update() --- apps/openmw/mwmp/Networking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmp/Networking.cpp b/apps/openmw/mwmp/Networking.cpp index e56d14f79..05488512d 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -85,7 +85,7 @@ void Networking::Update() if (!errmsg.empty()) { - LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "%s", errmsg); + LOG_MESSAGE_SIMPLE(Log::LOG_ERROR, "%s", errmsg.c_str()); SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "tes3mp", errmsg.c_str(), 0); MWBase::Environment::get().getStateManager()->requestQuit(); }