Apparently c_str doesn't return a C str.

This commit is contained in:
CarlKenner 2014-12-15 11:34:18 +10:30
parent aa850c8eee
commit f95f43fdde
1 changed files with 2 additions and 2 deletions

View File

@ -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();