0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.3.1143

Problem:    When mapping NUL it is displayed as an X.
Solution:   Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2013-06-07 19:53:10 +02:00
parent 45fc539fe0
commit 3798519b9e
2 changed files with 3 additions and 1 deletions

View File

@@ -1577,7 +1577,7 @@ str2special(sp, from)
{
c = TO_SPECIAL(str[1], str[2]);
str += 2;
if (c == K_ZERO) /* display <Nul> as ^@ */
if (c == KS_ZERO) /* display <Nul> as ^@ or <Nul> */
c = NUL;
}
if (IS_SPECIAL(c) || modifiers) /* special key */

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1143,
/**/
1142,
/**/