summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorRachel Bryk <RachelBryk@gmail.com>2015-03-11 20:09:33 -0400
committerRachel Bryk <RachelBryk@gmail.com>2015-03-11 20:09:33 -0400
commit71bc1f39e044e50e0bcd5e2fb3176dc8a17994e9 (patch)
tree492661c4980357e7d6257fe36e74b61260b0842d /Source/Core
parent647cd3c8e0270a85166f47cf0f0f62236a0c04cc (diff)
Fix missing parenthesis.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/GameListCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp
index f5c32d3719..e04b9e6347 100644
--- a/Source/Core/DolphinWX/GameListCtrl.cpp
+++ b/Source/Core/DolphinWX/GameListCtrl.cpp
@@ -133,7 +133,7 @@ static int CompareGameListItems(const GameListItem* iso1, const GameListItem* is
if (iso1->GetRevision() != iso2->GetRevision())
return t * (iso1->GetRevision() > iso2->GetRevision() ? 1 : -1);
if (iso1->IsDiscTwo() != iso2->IsDiscTwo())
- return t * iso1->IsDiscTwo() ? 1 : -1;
+ return t * (iso1->IsDiscTwo() ? 1 : -1);
}
return strcasecmp(iso1->GetName(indexOne).c_str(),
iso2->GetName(indexOther).c_str()) * t;