diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-07 19:53:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-07 19:53:10 +0200 |
commit | 3798519b9eb1f3c8c614c2d21743660a2a2cf947 (patch) | |
tree | c825948e74ad35d1b62a50478f1c1eca6653fa26 /src/message.c | |
parent | 45fc539fe048e037a8fc8dc8c043a781c30c9c73 (diff) | |
download | vim-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.c | 2 |
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 */ |