patch 8.2.1118: condition can never be true, dead code
Problem: Condition can never be true, dead code.
Solution: Remove the dead code.
diff --git a/src/move.c b/src/move.c
index 5b3fb35..ec1ad38 100644
--- a/src/move.c
+++ b/src/move.c
@@ -2681,8 +2681,6 @@
if (curwin->w_topfill > 0)
{
i = 1;
- if (--n < 0 && scrolled > 0)
- break;
--curwin->w_topfill;
}
else
diff --git a/src/version.c b/src/version.c
index 2d94559..c334ec6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1118,
+/**/
1117,
/**/
1116,