mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Fix missing parenthesis.
This commit is contained in:
parent
647cd3c8e0
commit
71bc1f39e0
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ static int CompareGameListItems(const GameListItem* iso1, const GameListItem* is
|
||||||
if (iso1->GetRevision() != iso2->GetRevision())
|
if (iso1->GetRevision() != iso2->GetRevision())
|
||||||
return t * (iso1->GetRevision() > iso2->GetRevision() ? 1 : -1);
|
return t * (iso1->GetRevision() > iso2->GetRevision() ? 1 : -1);
|
||||||
if (iso1->IsDiscTwo() != iso2->IsDiscTwo())
|
if (iso1->IsDiscTwo() != iso2->IsDiscTwo())
|
||||||
return t * iso1->IsDiscTwo() ? 1 : -1;
|
return t * (iso1->IsDiscTwo() ? 1 : -1);
|
||||||
}
|
}
|
||||||
return strcasecmp(iso1->GetName(indexOne).c_str(),
|
return strcasecmp(iso1->GetName(indexOne).c_str(),
|
||||||
iso2->GetName(indexOther).c_str()) * t;
|
iso2->GetName(indexOther).c_str()) * t;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue