summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-04-08 01:16:50 -0400
committerLioncash <mathew1800@gmail.com>2013-04-08 01:16:50 -0400
commit1db10b139cb1f9b92b2e90eb86f236dcd30333b4 (patch)
tree6e1564d368ffabc06196e82d41413fe83082b184 /Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
parent5b2d9a7d9f80389cd130661c481dcbdf650a724f (diff)
Remove all tab/space mismatches from the DolphinWX project (at least 99%. I promise!)
Also fix up the dangling else's. Shit just looks incredibly ugly in terms of actual structure in the code. I took the liberty of adding comments in FifoPlayerDlg.cpp, LogConfigWindow.cpp, LogWindow.cpp, and FrameAui.cpp to better explain some things. If any comments are wrong, don't hesitate to complain.
Diffstat (limited to 'Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp b/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
index a23e9194fd..a4400b32fa 100644
--- a/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
@@ -40,10 +40,10 @@ void CBreakPointView::Update()
InsertColumn(0, wxT("Active"));
InsertColumn(1, wxT("Type"));
InsertColumn(2, wxT("Function"));
- InsertColumn(3, wxT("Address"));
- InsertColumn(4, wxT("Flags"));
+ InsertColumn(3, wxT("Address"));
+ InsertColumn(4, wxT("Flags"));
- char szBuffer[64];
+ char szBuffer[64];
const BreakPoints::TBreakPoints& rBreakPoints = PowerPC::breakpoints.GetBreakPoints();
for (size_t i = 0; i < rBreakPoints.size(); i++)
{
@@ -63,11 +63,11 @@ void CBreakPointView::Update()
SetItem(Item, 2, temp);
}
- sprintf(szBuffer, "%08x", rBP.iAddress);
- temp = StrToWxStr(szBuffer);
+ sprintf(szBuffer, "%08x", rBP.iAddress);
+ temp = StrToWxStr(szBuffer);
SetItem(Item, 3, temp);
- SetItemData(Item, rBP.iAddress);
+ SetItemData(Item, rBP.iAddress);
}
}
@@ -108,12 +108,12 @@ void CBreakPointView::Update()
void CBreakPointView::DeleteCurrentSelection()
{
- int Item = GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
- if (Item >= 0)
- {
- u32 Address = (u32)GetItemData(Item);
- PowerPC::breakpoints.Remove(Address);
- PowerPC::memchecks.Remove(Address);
+ int Item = GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
+ if (Item >= 0)
+ {
+ u32 Address = (u32)GetItemData(Item);
+ PowerPC::breakpoints.Remove(Address);
+ PowerPC::memchecks.Remove(Address);
Update();
- }
+ }
}