# HG changeset patch # User Bram Moolenaar # Date 1295654300 -3600 # Node ID 7b44c70ee8ab87d5265ebec758a6f5ea9d5cfa75 # Parent 862d920800b1a8a5ebca3e7db5dbe431982f7d0d 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 104, +/**/ 103, /**/ 102,