From ab6d6d1cc82a510228ec4b53b5e4f4b145ac25a8 Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 4 Sep 2016 16:18:53 +0800 Subject: [PATCH] Fix log message in Networking::Connect() --- 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 05488512d..d9655a15f 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -159,7 +159,7 @@ void Networking::Connect(const std::string &ip, unsigned short port) 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(); }