From: Bram Moolenaar Date: Fri, 7 Jun 2013 17:53:10 +0000 (+0200) Subject: updated for version 7.3.1143 X-Git-Tag: v7.3.1143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3798519b9eb1f3c8c614c2d21743660a2a2cf947;p=vim 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) --- 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 as ^@ */ + if (c == KS_ZERO) /* display as ^@ or */ c = NUL; } if (IS_SPECIAL(c) || modifiers) /* special key */ diff --git a/src/version.c b/src/version.c index b3c7be573..2d0e42fe8 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1143, /**/ 1142, /**/