From 3798519b9eb1f3c8c614c2d21743660a2a2cf947 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 7 Jun 2013 19:53:10 +0200 Subject: 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) --- src/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/message.c') 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 */ -- cgit v1.2.1