0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.2-276

This commit is contained in:
Bram Moolenaar
2009-11-03 15:04:20 +00:00
parent 740885b78b
commit 2ac5e603d8
2 changed files with 8 additions and 1 deletions

View File

@@ -187,9 +187,14 @@ buf_init_chartab(buf, global)
if (VIM_ISDIGIT(*p)) if (VIM_ISDIGIT(*p))
c2 = getdigits(&p); c2 = getdigits(&p);
else else
#ifdef FEAT_MBYTE
if (has_mbyte)
c2 = mb_ptr2char_adv(&p);
else
#endif
c2 = *p++; c2 = *p++;
} }
if (c <= 0 || (c2 < c && c2 != -1) || c2 >= 256 if (c <= 0 || c >= 256 || (c2 < c && c2 != -1) || c2 >= 256
|| !(*p == NUL || *p == ',')) || !(*p == NUL || *p == ','))
return FAIL; return FAIL;

View File

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