diff src/proto/misc2.pro @ 10706:056e32b99e93 v8.0.0243

patch 8.0.0243: tolower() does not work if the byte count changes commit https://github.com/vim/vim/commit/cc5b22b3bfdc0e9e835cf7871166badda31447bd Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 26 22:51:56 2017 +0100 patch 8.0.0243: tolower() does not work if the byte count changes Problem: When making a character lower case with tolower() changes the byte cound, it is not made lower case. Solution: Add strlow_save(). (Dominique Pelle, closes #1406)
author Christian Brabandt <cb@256bit.org>
date Thu, 26 Jan 2017 23:00:05 +0100
parents 66f1b5bf3fa6
children 506f5d8b7d8b
line wrap: on
line diff
--- a/src/proto/misc2.pro
+++ b/src/proto/misc2.pro
@@ -40,6 +40,7 @@ char_u *vim_strsave_up(char_u *string);
 char_u *vim_strnsave_up(char_u *string, int len);
 void vim_strup(char_u *p);
 char_u *strup_save(char_u *orig);
+char_u *strlow_save(char_u *orig);
 void del_trailing_spaces(char_u *ptr);
 void vim_strncpy(char_u *to, char_u *from, size_t len);
 void vim_strcat(char_u *to, char_u *from, size_t tosize);