mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
mbyte: replace vim_tolower with mb_tolower handling locale correctly
This commit is contained in:
@@ -309,7 +309,7 @@ char *strup_save(const char *const orig)
|
||||
|
||||
if (enc_utf8) {
|
||||
int c = utf_ptr2char((const char_u *)p);
|
||||
int uc = utf_toupper(c);
|
||||
int uc = mb_toupper(c);
|
||||
|
||||
// Reallocate string when byte count changes. This is rare,
|
||||
// thus it's OK to do another malloc()/free().
|
||||
|
Reference in New Issue
Block a user