]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-276 v7.2.276
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2009 15:04:20 +0000 (15:04 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2009 15:04:20 +0000 (15:04 +0000)
src/charset.c
src/version.c

index cc02563b297c7776ca34b2b1335677134a54f03d..5b0e71c8a45e13e2f08be2a0dcc4bd1c6bddd534 100644 (file)
@@ -187,9 +187,14 @@ buf_init_chartab(buf, global)
                if (VIM_ISDIGIT(*p))
                    c2 = getdigits(&p);
                else
+#ifdef FEAT_MBYTE
+                    if (has_mbyte)
+                   c2 = mb_ptr2char_adv(&p);
+               else
+#endif
                    c2 = *p++;
            }
-           if (c <= 0 || (c2 < c && c2 != -1) || c2 >= 256
+           if (c <= 0 || c >= 256 || (c2 < c && c2 != -1) || c2 >= 256
                                                 || !(*p == NUL || *p == ','))
                return FAIL;
 
index f1efeae64a5160cbb7038ece0fe8cb3bd074e7b5..5888b2d3b8af0a1f025dee58da21cc7eecfa160f 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    276,
 /**/
     275,
 /**/