summaryrefslogtreecommitdiff
path: root/src/move.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-14 21:22:30 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-14 21:22:30 +0200
commit8455c5ed31c9cb2919f5e62693bab6b09bf60df2 (patch)
tree59fba9fb637e0cd0af7dca52b3788da4edc08480 /src/move.c
parent1f22cc5cdb2da867d6bbf54dd371f279c38a2f56 (diff)
downloadvim-git-8455c5ed31c9cb2919f5e62693bab6b09bf60df2.tar.gz
patch 8.2.1211: removed more than dead codev8.2.1211
Problem: Removed more than dead code. Solution: Put back the decrement.
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/move.c b/src/move.c
index ec1ad38ad..767134f56 100644
--- a/src/move.c
+++ b/src/move.c
@@ -2681,6 +2681,7 @@ halfpage(int flag, linenr_T Prenum)
if (curwin->w_topfill > 0)
{
i = 1;
+ --n;
--curwin->w_topfill;
}
else