aboutsummaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 8278deb6f8..29964e92d5 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -2868,7 +2868,7 @@ int mb_strnicmp(char_u *s1, char_u *s2, size_t nn)
if (l <= 1) {
/* Single byte: first check normally, then with ignore case. */
if (s1[i] != s2[i]) {
- cdiff = MB_TOLOWER(s1[i]) - MB_TOLOWER(s2[i]);
+ cdiff = vim_tolower(s1[i]) - vim_tolower(s2[i]);
if (cdiff != 0)
return cdiff;
}