diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-03-12 07:58:05 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-03-12 07:58:05 +0100 |
| commit | 43b2f790fd80a3562b01e97dff148683deacdd50 (patch) | |
| tree | 837513e08d01f1ba13a57ee5f473d8c87287d34e /Source | |
| parent | 9063f0d16f08399fe09cbd0d6cb380eb930cf94d (diff) | |
| parent | 71bc1f39e044e50e0bcd5e2fb3176dc8a17994e9 (diff) | |
Merge pull request #2197 from RachelBryk/paren
Fix missing parenthesis.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinWX/GameListCtrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp index efa0b3e443..0d6cfbf71d 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; |
