Karsten Hopp c57805
To: vim_dev@googlegroups.com
Karsten Hopp c57805
Subject: Patch 7.3.104
Karsten Hopp c57805
Fcc: outbox
Karsten Hopp c57805
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp c57805
Mime-Version: 1.0
Karsten Hopp c57805
Content-Type: text/plain; charset=UTF-8
Karsten Hopp c57805
Content-Transfer-Encoding: 8bit
Karsten Hopp c57805
------------
Karsten Hopp c57805
Karsten Hopp c57805
Problem:    Conceal: using Tab for cchar causes problems. (ZyX)
Karsten Hopp c57805
Solution:   Do not accept a control character for cchar.
Karsten Hopp c57805
Files:      src/syntax.c
Karsten Hopp c57805
Karsten Hopp c57805
Karsten Hopp c57805
*** ../vim-7.3.103/src/syntax.c	2010-09-29 18:32:47.000000000 +0200
Karsten Hopp c57805
--- src/syntax.c	2011-01-22 00:50:20.000000000 +0100
Karsten Hopp c57805
***************
Karsten Hopp c57805
*** 4537,4542 ****
Karsten Hopp c57805
--- 4537,4549 ----
Karsten Hopp c57805
  		;
Karsten Hopp c57805
  #endif
Karsten Hopp c57805
  	    }
Karsten Hopp c57805
+ #ifdef FEAT_CONCEAL
Karsten Hopp c57805
+ 	    if (!vim_isprintc_strict(*conceal_char))
Karsten Hopp c57805
+ 	    {
Karsten Hopp c57805
+ 		EMSG(_("E844: invalid cchar value"));
Karsten Hopp c57805
+ 		return NULL;
Karsten Hopp c57805
+ 	    }
Karsten Hopp c57805
+ #endif
Karsten Hopp c57805
  	    arg = skipwhite(arg + 7);
Karsten Hopp c57805
  	}
Karsten Hopp c57805
  	else
Karsten Hopp c57805
*** ../vim-7.3.103/src/version.c	2011-01-22 00:11:42.000000000 +0100
Karsten Hopp c57805
--- src/version.c	2011-01-22 00:54:56.000000000 +0100
Karsten Hopp c57805
***************
Karsten Hopp c57805
*** 716,717 ****
Karsten Hopp c57805
--- 716,719 ----
Karsten Hopp c57805
  {   /* Add new patch number below this line */
Karsten Hopp c57805
+ /**/
Karsten Hopp c57805
+     104,
Karsten Hopp c57805
  /**/
Karsten Hopp c57805
Karsten Hopp c57805
-- 
Karsten Hopp c57805
hundred-and-one symptoms of being an internet addict:
Karsten Hopp c57805
132. You come back and check this list every half-hour.
Karsten Hopp c57805
Karsten Hopp c57805
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp c57805
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp c57805
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp c57805
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///