diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-04-08 16:45:38 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2017-04-10 12:01:40 +0200 |
commit | db9ef6263ec5b7885782ccf0a93e06b0c71f6944 (patch) | |
tree | b8be451ab6edf79c97f198be7f6dddaf004f8455 /src/nvim/strings.c | |
parent | 3b88e37b839fede81f40b5454490b6b8a89db5b7 (diff) | |
download | rneovim-db9ef6263ec5b7885782ccf0a93e06b0c71f6944.tar.gz rneovim-db9ef6263ec5b7885782ccf0a93e06b0c71f6944.tar.bz2 rneovim-db9ef6263ec5b7885782ccf0a93e06b0c71f6944.zip |
mbyte: replace vim_tolower with mb_tolower handling locale correctly
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r-- | src/nvim/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c index 5dcffe00e0..e7c0fb8a7d 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -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(). |