Apparently c_str doesn't return a C str.
This commit is contained in:
parent
aa850c8eee
commit
f95f43fdde
|
@ -298,7 +298,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
|
||||||
if (!path.IsEmpty())
|
if (!path.IsEmpty())
|
||||||
{
|
{
|
||||||
g_symbolDB.LoadMap(WxStrToStr(path));
|
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();
|
HLE::PatchFunctions();
|
||||||
NotifyMapLoaded();
|
NotifyMapLoaded();
|
||||||
|
@ -315,7 +315,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
|
||||||
if (!path.IsEmpty())
|
if (!path.IsEmpty())
|
||||||
{
|
{
|
||||||
g_symbolDB.LoadBadMap(WxStrToStr(path));
|
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();
|
HLE::PatchFunctions();
|
||||||
NotifyMapLoaded();
|
NotifyMapLoaded();
|
||||||
|
|
Loading…
Reference in New Issue