Karsten Hopp 4e500b
To: vim_dev@googlegroups.com
Karsten Hopp 4e500b
Subject: Patch 7.3.1143
Karsten Hopp 4e500b
Fcc: outbox
Karsten Hopp 4e500b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 4e500b
Mime-Version: 1.0
Karsten Hopp 4e500b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 4e500b
Content-Transfer-Encoding: 8bit
Karsten Hopp 4e500b
------------
Karsten Hopp 4e500b
Karsten Hopp 4e500b
Patch 7.3.1143
Karsten Hopp 4e500b
Problem:    When mapping NUL it is displayed as an X.
Karsten Hopp 4e500b
Solution:   Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
Karsten Hopp 4e500b
Files:	    src/message.c
Karsten Hopp 4e500b
Karsten Hopp 4e500b
Karsten Hopp 4e500b
*** ../vim-7.3.1142/src/message.c	2013-04-24 15:12:27.000000000 +0200
Karsten Hopp 4e500b
--- src/message.c	2013-06-07 19:47:23.000000000 +0200
Karsten Hopp 4e500b
***************
Karsten Hopp 4e500b
*** 1577,1583 ****
Karsten Hopp 4e500b
  	{
Karsten Hopp 4e500b
  	    c = TO_SPECIAL(str[1], str[2]);
Karsten Hopp 4e500b
  	    str += 2;
Karsten Hopp 4e500b
! 	    if (c == K_ZERO)	/* display <Nul> as ^@ */
Karsten Hopp 4e500b
  		c = NUL;
Karsten Hopp 4e500b
  	}
Karsten Hopp 4e500b
  	if (IS_SPECIAL(c) || modifiers)	/* special key */
Karsten Hopp 4e500b
--- 1577,1583 ----
Karsten Hopp 4e500b
  	{
Karsten Hopp 4e500b
  	    c = TO_SPECIAL(str[1], str[2]);
Karsten Hopp 4e500b
  	    str += 2;
Karsten Hopp 4e500b
! 	    if (c == KS_ZERO)	/* display <Nul> as ^@ or <Nul> */
Karsten Hopp 4e500b
  		c = NUL;
Karsten Hopp 4e500b
  	}
Karsten Hopp 4e500b
  	if (IS_SPECIAL(c) || modifiers)	/* special key */
Karsten Hopp 4e500b
*** ../vim-7.3.1142/src/version.c	2013-06-07 19:48:29.000000000 +0200
Karsten Hopp 4e500b
--- src/version.c	2013-06-07 19:50:32.000000000 +0200
Karsten Hopp 4e500b
***************
Karsten Hopp 4e500b
*** 730,731 ****
Karsten Hopp 4e500b
--- 730,733 ----
Karsten Hopp 4e500b
  {   /* Add new patch number below this line */
Karsten Hopp 4e500b
+ /**/
Karsten Hopp 4e500b
+     1143,
Karsten Hopp 4e500b
  /**/
Karsten Hopp 4e500b
Karsten Hopp 4e500b
-- 
Karsten Hopp 4e500b
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 4e500b
100. The most exciting sporting events you noticed during summer 1996
Karsten Hopp 4e500b
    was Netscape vs. Microsoft.
Karsten Hopp 4e500b
Karsten Hopp 4e500b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 4e500b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 4e500b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 4e500b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///