diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-12-12 10:29:07 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-12-12 10:29:07 -0500 |
| commit | 20fc2d567465fbbdce68d6e6b34727088b2703f7 (patch) | |
| tree | 3816c04df8a2abd1849588e5376ec84a1e35e666 /Source/Core/DolphinWX/Debugger/MemoryWindow.cpp | |
| parent | 7ebca647b348000db2169dbbf4f873a5bd07a25b (diff) | |
MemoryWindow: Remove wxSprintf call, use wxString::Format instead.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/MemoryWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/MemoryWindow.cpp | 5 |
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); |
