summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/MemoryWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/MemoryWindow.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
index 0d9a474ed0..f4b127c67b 100644
--- a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp
@@ -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);