mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
remove MB_{IS,TO}{UPPER,LOWER}
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user