summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLPFaint99 <lpfaint99@gmail.com>2012-08-19 20:44:09 -0700
committerLPFaint99 <lpfaint99@gmail.com>2012-08-19 20:45:43 -0700
commit603bd9982d89b917af83bae2e45b3eaa8e2accec (patch)
tree87b4e55913e75e5b3b5106bc2e1411800adb146a /Source/Core
parent28bc5eca378059c105c1ab7919afcebaaa704ca8 (diff)
bugfix for memorycard manager. fixes exporting from page > 1 on slot b, thanks to suloku for reporting
Signed-off-by: LPFaint99 <lpfaint99@gmail.com>
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/MemcardManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/MemcardManager.cpp b/Source/Core/DolphinWX/Src/MemcardManager.cpp
index a6ed1513c6..bf47a23c53 100644
--- a/Source/Core/DolphinWX/Src/MemcardManager.cpp
+++ b/Source/Core/DolphinWX/Src/MemcardManager.cpp
@@ -480,12 +480,12 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
int index_B = m_MemcardList[SLOT_B]->GetNextItem(-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
int slot = SLOT_B;
int slot2 = SLOT_A;
- int index = index_B;
std::string fileName2("");
if (index_A != wxNOT_FOUND && page[SLOT_A]) index_A += itemsPerPage * page[SLOT_A];
if (index_B != wxNOT_FOUND && page[SLOT_B]) index_B += itemsPerPage * page[SLOT_B];
+ int index = index_B;
switch (event.GetId())
{
case ID_COPYFROM_B: