Give priority to lower case in RankedMatch

This commit is contained in:
Maxime Coste 2016-04-03 18:49:33 +01:00
parent ab5daeb365
commit 0478a8f11a

View File

@ -154,7 +154,7 @@ bool RankedMatch::operator<(const RankedMatch& other) const
if (cp1 != cp2) if (cp1 != cp2)
{ {
const bool low1 = islower(cp1), low2 = islower(cp2); const bool low1 = islower(cp1), low2 = islower(cp2);
return low1 == low2 ? cp1 < cp2 : low2; return low1 == low2 ? cp1 < cp2 : low1;
} }
} }