forked from aniani/vim
updated for version 7.1-261
This commit is contained in:
parent
9c33a7c971
commit
ffd82c5307
@ -5514,10 +5514,11 @@ check_for_bom(p, size, lenp, flags)
|
|||||||
else if (p[0] == 0xfe && p[1] == 0xff
|
else if (p[0] == 0xfe && p[1] == 0xff
|
||||||
&& (flags == FIO_ALL || flags == FIO_UCS2 || flags == FIO_UTF16))
|
&& (flags == FIO_ALL || flags == FIO_UCS2 || flags == FIO_UTF16))
|
||||||
{
|
{
|
||||||
if (flags == FIO_UTF16)
|
/* Default to utf-16, it works also for ucs-2 text. */
|
||||||
name = "utf-16"; /* FE FF */
|
if (flags == FIO_UCS2)
|
||||||
else
|
|
||||||
name = "ucs-2"; /* FE FF */
|
name = "ucs-2"; /* FE FF */
|
||||||
|
else
|
||||||
|
name = "utf-16"; /* FE FF */
|
||||||
}
|
}
|
||||||
else if (size >= 4 && p[0] == 0 && p[1] == 0 && p[2] == 0xfe
|
else if (size >= 4 && p[0] == 0 && p[1] == 0 && p[2] == 0xfe
|
||||||
&& p[3] == 0xff && (flags == FIO_ALL || flags == FIO_UCS4))
|
&& p[3] == 0xff && (flags == FIO_ALL || flags == FIO_UCS4))
|
||||||
|
Binary file not shown.
@ -666,6 +666,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 */
|
||||||
|
/**/
|
||||||
|
261,
|
||||||
/**/
|
/**/
|
||||||
260,
|
260,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user