0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1211: removed more than dead code

Problem:    Removed more than dead code.
Solution:   Put back the decrement.
This commit is contained in:
Bram Moolenaar
2020-07-14 21:22:30 +02:00
parent 1f22cc5cdb
commit 8455c5ed31
3 changed files with 23 additions and 0 deletions

View File

@@ -2681,6 +2681,7 @@ halfpage(int flag, linenr_T Prenum)
if (curwin->w_topfill > 0)
{
i = 1;
--n;
--curwin->w_topfill;
}
else