mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #1687 from lioncash/sprintf
MemoryWindow: Remove wxSprintf call, use wxString::Format instead.
This commit is contained in:
commit
ff41c2a1a1
@ -423,10 +423,7 @@ void CMemoryWindow::onSearch(wxCommandEvent& event)
|
|||||||
{
|
{
|
||||||
//Match was found
|
//Match was found
|
||||||
wxMessageBox(_("A match was found. Placing viewer at the offset."));
|
wxMessageBox(_("A match was found. Placing viewer at the offset."));
|
||||||
wxChar tmpwxstr[128] = {0};
|
addrbox->SetValue(wxString::Format("%08x", i));
|
||||||
wxSprintf(tmpwxstr, "%08x", i);
|
|
||||||
wxString tmpwx(tmpwxstr);
|
|
||||||
addrbox->SetValue(tmpwx);
|
|
||||||
//memview->curAddress = i;
|
//memview->curAddress = i;
|
||||||
//memview->Refresh();
|
//memview->Refresh();
|
||||||
OnAddrBoxChange(event);
|
OnAddrBoxChange(event);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user