# HG changeset patch # User Bram Moolenaar # Date 1370627590 -7200 # Node ID 66e849c4558aca6c522026882159b41994d0c0c1 # Parent 804da53905226b0e1eb8f1c168d87cf2d6514cfd 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1143, +/**/ 1142, /**/ 1141,