summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/MemoryWindow.cpp
diff options
context:
space:
mode:
authorj4ck.fr0st <j4ck.fr0st@gmail.com>2010-02-21 18:55:00 +0000
committerj4ck.fr0st <j4ck.fr0st@gmail.com>2010-02-21 18:55:00 +0000
commitfdd635d273ff6ba6553bab34478ce2a93fdeb830 (patch)
tree1520b74b9d66713ff9e63df8cc1ba09ea77c76e9 /Source/Core/DebuggerWX/Src/MemoryWindow.cpp
parentf7f11211a1270d34f36a2507a00f25fbbfd7f203 (diff)
Warning cleanup, mainly shadowed variables, const/non-const and ctor initialization order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5098 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/MemoryWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/MemoryWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp
index 8e4db3e26d..38fdbba659 100644
--- a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp
@@ -400,9 +400,9 @@ void CMemoryWindow::onSearch(wxCommandEvent& event) {
if(k==size){
//Match was found
wxMessageBox(_T("A match was found. Placing viewer at the offset."));
- wxChar tmpstr[128]={0};
- wxSprintf(tmpstr,_T("%08x"),i);
- wxString tmpwx(tmpstr);
+ wxChar tmpwxstr[128]={0};
+ wxSprintf(tmpwxstr,_T("%08x"),i);
+ wxString tmpwx(tmpwxstr);
addrbox->SetValue(tmpwx);
//memview->curAddress=i;
//memview->Refresh();