1
0
forked from aniani/vim

patch 8.0.1728: condition always false, useless code

Problem:    Condition always false, useless code.
Solution:   Remove the code. (Nikolai Pavlov, closes #2808)
This commit is contained in:
Bram Moolenaar
2018-04-17 20:12:08 +02:00
parent 353eeeaca2
commit 1feab2b9cc
2 changed files with 2 additions and 2 deletions

View 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;