summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
diff options
context:
space:
mode:
authorfacugaich <facugaich@gmail.com>2008-12-20 18:46:49 +0000
committerfacugaich <facugaich@gmail.com>2008-12-20 18:46:49 +0000
commit3be88bb2dd59136a3d69ea9c8381333987fb20b2 (patch)
tree4a1b1043466ec41121453c8e3dac5184e37a9f0a /Source/Core/DolphinWX/Src/PatchAddEdit.cpp
parented75de40f4c7f9c0f7c912d8956a78b7540f655c (diff)
- Janitorial tasks
- Bugfix in ARCode/Patch editor git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1612 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/Src/PatchAddEdit.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/PatchAddEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/PatchAddEdit.cpp b/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
index e1328f6a7f..0567307a5d 100644
--- a/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
+++ b/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
@@ -48,7 +48,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection)
EditPatchOffset = new wxTextCtrl(this, ID_EDITPATCH_OFFSET, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), currentEntries.at(0).address));
EntrySelection = new wxSpinButton(this, ID_ENTRY_SELECT, wxDefaultPosition, wxDefaultSize, wxVERTICAL);
- EntrySelection->SetRange(0, (int)currentEntries.size()-1);
+ EntrySelection->SetRange((int)currentEntries.size()-1, 0);
wxArrayString wxArrayStringFor_EditPatchType;
for (int i = 0; i < 3; ++i)
wxArrayStringFor_EditPatchType.Add(wxString::FromAscii(PatchEngine::PatchTypeStrings[i]));