forked from aniani/vim
updated for version 7.2-102
This commit is contained in:
@@ -3013,6 +3013,8 @@ do_source(fname, check_other, is_vimrc)
|
|||||||
/* Found BOM; setup conversion, skip over BOM and recode the line. */
|
/* Found BOM; setup conversion, skip over BOM and recode the line. */
|
||||||
convert_setup(&cookie.conv, (char_u *)"utf-8", p_enc);
|
convert_setup(&cookie.conv, (char_u *)"utf-8", p_enc);
|
||||||
p = string_convert(&cookie.conv, firstline + 3, NULL);
|
p = string_convert(&cookie.conv, firstline + 3, NULL);
|
||||||
|
if (p == NULL)
|
||||||
|
p = vim_strsave(firstline + 3);
|
||||||
if (p != NULL)
|
if (p != NULL)
|
||||||
{
|
{
|
||||||
vim_free(firstline);
|
vim_free(firstline);
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
/**/
|
||||||
|
102,
|
||||||
/**/
|
/**/
|
||||||
101,
|
101,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user