# HG changeset patch # User vimboss # Date 1233863305 0 # Node ID f38b7359dafd1f168a15698412d266c17a16520e # Parent 684ea86baabb6ead7b673d20de6f4b5b27a3335d updated for version 7.2-102 diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c --- 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); diff --git a/src/version.c b/src/version.c --- 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,