Fix mod list sorting predicate, convert the changelog to markdown and reverse it.

This commit is contained in:
Petr Mrázek
2014-07-08 23:05:33 +02:00
parent 9b3ae29a36
commit 6349800f07
3 changed files with 105 additions and 94 deletions

View File

@ -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);
}