summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-07 19:53:10 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-07 19:53:10 +0200
commit3798519b9eb1f3c8c614c2d21743660a2a2cf947 (patch)
treec825948e74ad35d1b62a50478f1c1eca6653fa26 /src/message.c
parent45fc539fe048e037a8fc8dc8c043a781c30c9c73 (diff)
downloadvim-git-3798519b9eb1f3c8c614c2d21743660a2a2cf947.tar.gz
updated for version 7.3.1143v7.3.1143
Problem: When mapping NUL it is displayed as an X. Solution: Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index b574df63d..8330ef738 100644
--- a/src/message.c
+++ b/src/message.c
@@ -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 */