From 6349800f070781b29e1ab3674d1872a3ce070e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 8 Jul 2014 23:05:33 +0200 Subject: Fix mod list sorting predicate, convert the changelog to markdown and reverse it. --- logic/ModList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logic/ModList.cpp') 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 &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); } -- cgit v1.2.3