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:
@@ -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;
|
||||||
|
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user