]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.104 v7.3.104
authorBram Moolenaar <Bram@vim.org>
Fri, 21 Jan 2011 23:58:20 +0000 (00:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 21 Jan 2011 23:58:20 +0000 (00:58 +0100)
Problem:    Conceal: using Tab for cchar causes problems. (ZyX)
Solution:   Do not accept a control character for cchar.

src/syntax.c
src/version.c

index d2a99a4f7985ceb43c9459d29c7b810f28d7bce5..369311fb74bad22eb4dc742ded3b747e1f5e8a04 100644 (file)
@@ -4537,6 +4537,13 @@ get_syn_options(arg, opt, conceal_char)
                ;
 #endif
            }
+#ifdef FEAT_CONCEAL
+           if (!vim_isprintc_strict(*conceal_char))
+           {
+               EMSG(_("E844: invalid cchar value"));
+               return NULL;
+           }
+#endif
            arg = skipwhite(arg + 7);
        }
        else
index 107cdea693321198452dcb62995f9e3b492e5374..1cb55bfec1f77f6c979496ce34984014c189490f 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    104,
 /**/
     103,
 /**/