diff --git a/Client/game_sa/CGameSA.cpp b/Client/game_sa/CGameSA.cpp index c3eafa78d60..77c78333f34 100644 --- a/Client/game_sa/CGameSA.cpp +++ b/Client/game_sa/CGameSA.cpp @@ -253,7 +253,7 @@ CGameSA::CGameSA() error += ": "; error += e.what(); - MessageBoxUTF8(nullptr, error.c_str(), _("Error"), MB_ICONERROR | MB_OK); + MessageBoxUTF8(nullptr, error, _("Error"), MB_ICONERROR | MB_OK); ExitProcess(EXIT_FAILURE); } catch (const std::exception& e)