changeset 1804:f38b7359dafd v7.2.102

updated for version 7.2-102
author vimboss
date Thu, 05 Feb 2009 19:48:25 +0000
parents 684ea86baabb
children a5e1d6526ac7
files src/ex_cmds2.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3013,6 +3013,8 @@ do_source(fname, check_other, is_vimrc)
 	/* Found BOM; setup conversion, skip over BOM and recode the line. */
 	convert_setup(&cookie.conv, (char_u *)"utf-8", p_enc);
 	p = string_convert(&cookie.conv, firstline + 3, NULL);
+	if (p == NULL)
+	    p = vim_strsave(firstline + 3);
 	if (p != NULL)
 	{
 	    vim_free(firstline);
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    102,
+/**/
     101,
 /**/
     100,