mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
MemoryWindow: Remove wxSprintf call, use wxString::Format instead.
This commit is contained in:
parent
7ebca647b3
commit
20fc2d5674
@ -423,10 +423,7 @@ void CMemoryWindow::onSearch(wxCommandEvent& event)
|
||||
{
|
||||
//Match was found
|
||||
wxMessageBox(_("A match was found. Placing viewer at the offset."));
|
||||
wxChar tmpwxstr[128] = {0};
|
||||
wxSprintf(tmpwxstr, "%08x", i);
|
||||
wxString tmpwx(tmpwxstr);
|
||||
addrbox->SetValue(tmpwx);
|
||||
addrbox->SetValue(wxString::Format("%08x", i));
|
||||
//memview->curAddress = i;
|
||||
//memview->Refresh();
|
||||
OnAddrBoxChange(event);
|
||||
|
Loading…
Reference in New Issue
Block a user