From 0478a8f11a2f27ff7427d652ff568af0832f514f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 3 Apr 2016 18:49:33 +0100 Subject: [PATCH] Give priority to lower case in RankedMatch --- src/ranked_match.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ranked_match.cc b/src/ranked_match.cc index 4996dddd..3d7d130b 100644 --- a/src/ranked_match.cc +++ b/src/ranked_match.cc @@ -154,7 +154,7 @@ bool RankedMatch::operator<(const RankedMatch& other) const if (cp1 != cp2) { const bool low1 = islower(cp1), low2 = islower(cp2); - return low1 == low2 ? cp1 < cp2 : low2; + return low1 == low2 ? cp1 < cp2 : low1; } }