0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.1-046

This commit is contained in:
Bram Moolenaar 2007-07-30 20:32:53 +00:00
parent 943fae459d
commit 9225efbc96
2 changed files with 10 additions and 1 deletions

View File

@ -7014,7 +7014,14 @@ vim_regsub_both(source, dest, copy, magic, backslash)
#ifdef FEAT_MBYTE
if (has_mbyte)
{
int l = mb_ptr2len(s) - 1;
int l;
/* Copy composing characters separately, one
* at a time. */
if (enc_utf8)
l = utf_ptr2len(s) - 1;
else
l = mb_ptr2len(s) - 1;
s += l;
len -= l;

View File

@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
46,
/**/
45,
/**/