summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/ARCodeAddEdit.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/ARCodeAddEdit.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/ARCodeAddEdit.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp b/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp
index e08753f40f..5ba1007ef2 100644
--- a/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp
+++ b/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp
@@ -170,8 +170,12 @@ void CARCodeAddEdit::UpdateTextCtrl(ActionReplay::ARCode arCode)
EditCheatCode->Clear();
if (arCode.name != "")
+ {
for (u32 i = 0; i < arCode.ops.size(); i++)
EditCheatCode->AppendText(wxString::Format(wxT("%08X %08X\n"), arCode.ops.at(i).cmd_addr, arCode.ops.at(i).value));
+ }
else
+ {
EditCheatCode->SetValue(_("Insert Encrypted or Decrypted code here..."));
+ }
}