changeset 13712:63ea2c041c36 v8.0.1728

patch 8.0.1728: condition always false, useless code commit https://github.com/vim/vim/commit/1feab2b9cc355edc2f24814c35b72ae5e74eb2ae Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 17 20:12:08 2018 +0200 patch 8.0.1728: condition always false, useless code Problem: Condition always false, useless code. Solution: Remove the code. (Nikolai Pavlov, closes https://github.com/vim/vim/issues/2808)
author Christian Brabandt <cb@256bit.org>
date Tue, 17 Apr 2018 20:15:06 +0200
parents 207728513b1c
children 5c5a5dba2915
files src/message.c src/version.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/message.c
+++ b/src/message.c
@@ -1703,8 +1703,6 @@ str2special(
 	{
 	    c = TO_SPECIAL(str[1], str[2]);
 	    str += 2;
-	    if (c == KS_ZERO)	/* display <Nul> as ^@ or <Nul> */
-		c = NUL;
 	}
 	if (IS_SPECIAL(c) || modifiers)	/* special key */
 	    special = TRUE;
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1728,
+/**/
     1727,
 /**/
     1726,