From f95f43fdde1a0c8f5181c1359314253e973b43ea Mon Sep 17 00:00:00 2001 From: CarlKenner Date: Mon, 15 Dec 2014 11:34:18 +1030 Subject: [PATCH] Apparently c_str doesn't return a C str. --- Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp index b19d26fb74..2adbb32b66 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp @@ -298,7 +298,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event) if (!path.IsEmpty()) { g_symbolDB.LoadMap(WxStrToStr(path)); - Parent->StatusBarMessage("Loaded symbols from '%s'", path.c_str()); + Parent->StatusBarMessage("Loaded symbols from '%s'", WxStrToStr(path).c_str()); } HLE::PatchFunctions(); NotifyMapLoaded(); @@ -315,7 +315,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event) if (!path.IsEmpty()) { g_symbolDB.LoadBadMap(WxStrToStr(path)); - Parent->StatusBarMessage("Loaded symbols from '%s'", path.c_str()); + Parent->StatusBarMessage("Loaded symbols from '%s'", WxStrToStr(path).c_str()); } HLE::PatchFunctions(); NotifyMapLoaded();