aboutsummaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 9e0e35dd09..94daa3d4e6 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1146,7 +1146,7 @@ getcmdline (
* command line has no uppercase characters, convert
* the character to lowercase */
if (p_ic && p_scs && !pat_has_uppercase(ccline.cmdbuff))
- c = MB_TOLOWER(c);
+ c = vim_tolower(c);
if (c != NUL) {
if (c == firstc || vim_strchr((char_u *)(
p_magic ? "\\^$.*[" : "\\^$"), c)