summaryrefslogtreecommitdiffstats
path: root/src/proto/misc2.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-26 22:51:56 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-26 22:51:56 +0100
commitcc5b22b3bfdc0e9e835cf7871166badda31447bd (patch)
tree11e117ab82deca899a492b823dd0b0cb1c0ed37b /src/proto/misc2.pro
parent65c836e6004647196ae0bc18e409a9e7b79207c0 (diff)
patch 8.0.0243: tolower() does not work if the byte count changesv8.0.0243
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)
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r--src/proto/misc2.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro
index 144324f6ed..83384c028c 100644
--- 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);