]> granicus.if.org Git - vim/commitdiff
updated for version 7.2b-021 v7.2b.021
authorBram Moolenaar <Bram@vim.org>
Thu, 24 Jul 2008 20:09:16 +0000 (20:09 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Jul 2008 20:09:16 +0000 (20:09 +0000)
src/fileio.c
src/version.c

index d68adec84e4bda88772439bf73a50f56ef8a7a25..ce5ee76e622ecb35c3fe9d972f7d3901898fc0d1 100644 (file)
@@ -5537,7 +5537,7 @@ check_for_bom(p, size, lenp, flags)
     int                len = 2;
 
     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 */
        len = 3;
index 99b856566d5a7944d6fa861b7a482b7411fde1e1..f6843cb0fa9235e40dbf1f0aaae20803e194a629 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    21,
 /**/
     20,
 /**/