diff options
Diffstat (limited to 'logic')
-rw-r--r-- | logic/ModList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/ModList.cpp b/logic/ModList.cpp index 3382a6ef..a1605506 100644 --- a/logic/ModList.cpp +++ b/logic/ModList.cpp @@ -69,9 +69,9 @@ void ModList::internalSort(QList<Mod> &what) { if (left.name() == right.name()) { - return left.mmc_id().localeAwareCompare(right.mmc_id()) <= 0; + return left.mmc_id().localeAwareCompare(right.mmc_id()) < 0; } - return left.name().localeAwareCompare(right.name()) <= 0; + return left.name().localeAwareCompare(right.name()) < 0; }; std::sort(what.begin(), what.end(), predicate); } |