From 93b0f46d343adf9e47b4bd05655c9de42ebf9b96 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 30 Aug 2013 18:29:03 -0400 Subject: [PATCH] Fix a tiny bug in CodeView.cpp. If statement with more than one line was missing braces. --- Source/Core/DolphinWX/Src/Debugger/CodeView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp index 619d4a75e9..de5933d55c 100644 --- a/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp +++ b/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp @@ -277,9 +277,11 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event) { u32 dest = AddrToBranch(selection); if (dest) + { Center(dest); RaiseEvent(); } + } break; case IDM_ADDFUNCTION: