]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.0.1728: condition always false, useless code v8.0.1728
authorBram Moolenaar <Bram@vim.org>
Tue, 17 Apr 2018 18:12:08 +0000 (20:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 Apr 2018 18:12:08 +0000 (20:12 +0200)
Problem:    Condition always false, useless code.
Solution:   Remove the code. (Nikolai Pavlov, closes #2808)

src/message.c
src/version.c

index 71965852f20c6af52205096ff950c019f351b29d..25c22f63e56893d0fb92d5a3a40c6797a1e44a93 100644 (file)
@@ -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;
index ec588638881afb29e7bae99eaa1c085f684d87e7..edbe2ae16b334cea122168fbb92face03d7a5bcd 100644 (file)
@@ -762,6 +762,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1728,
 /**/
     1727,
 /**/