From: Bram Moolenaar Date: Fri, 21 Jan 2011 23:58:20 +0000 (+0100) Subject: updated for version 7.3.104 X-Git-Tag: v7.3.104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4124e7237376fb50a03b6305bcdb4287ecdfd4e8;p=vim updated for version 7.3.104 Problem: Conceal: using Tab for cchar causes problems. (ZyX) Solution: Do not accept a control character for cchar. --- diff --git a/src/syntax.c b/src/syntax.c index d2a99a4f7..369311fb7 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -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 diff --git a/src/version.c b/src/version.c index 107cdea69..1cb55bfec 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 104, /**/ 103, /**/