lint: fix clint errors around mb_tolower calls

This commit is contained in:
Björn Linse
2017-04-09 10:08:26 +02:00
parent acc06b0b7b
commit c1cf033981
10 changed files with 67 additions and 75 deletions

View File

@@ -2303,8 +2303,9 @@ static void ins_compl_longest_match(compl_T *match)
c2 = *s;
}
if (match->cp_icase ? (mb_tolower(c1) != mb_tolower(c2))
: (c1 != c2))
: (c1 != c2)) {
break;
}
if (has_mbyte) {
mb_ptr_adv(p);
mb_ptr_adv(s);