# HG changeset patch # User Christian Brabandt # Date 1523988906 -7200 # Node ID 63ea2c041c36a28931b26e0ae8f55b08d7b246ce # Parent 207728513b1c8d0811c317d4913b36d0cada414c patch 8.0.1728: condition always false, useless code commit https://github.com/vim/vim/commit/1feab2b9cc355edc2f24814c35b72ae5e74eb2ae Author: Bram Moolenaar 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) diff --git a/src/message.c b/src/message.c --- 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 as ^@ or */ - c = NUL; } if (IS_SPECIAL(c) || modifiers) /* special key */ special = TRUE; diff --git a/src/version.c b/src/version.c --- 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,