forked from aniani/vim
updated for version 7.2b-021
This commit is contained in:
@@ -5537,7 +5537,7 @@ check_for_bom(p, size, lenp, flags)
|
|||||||
int len = 2;
|
int len = 2;
|
||||||
|
|
||||||
if (p[0] == 0xef && p[1] == 0xbb && size >= 3 && p[2] == 0xbf
|
if (p[0] == 0xef && p[1] == 0xbb && size >= 3 && p[2] == 0xbf
|
||||||
&& (flags == FIO_ALL || flags == 0))
|
&& (flags == FIO_ALL || flags == FIO_UTF8 || flags == 0))
|
||||||
{
|
{
|
||||||
name = "utf-8"; /* EF BB BF */
|
name = "utf-8"; /* EF BB BF */
|
||||||
len = 3;
|
len = 3;
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
21,
|
||||||
/**/
|
/**/
|
||||||
20,
|
20,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user