diff src/move.c @ 21134:0abcf69badda v8.2.1118

patch 8.2.1118: condition can never be true, dead code Commit: https://github.com/vim/vim/commit/810af5ea460eab820cc5899892067d8c242be688 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 2 21:23:42 2020 +0200 patch 8.2.1118: condition can never be true, dead code Problem: Condition can never be true, dead code. Solution: Remove the dead code.
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Jul 2020 21:30:04 +0200
parents 9e428147e4ee
children 1421eca61db9
line wrap: on
line diff
--- a/src/move.c
+++ b/src/move.c
@@ -2681,8 +2681,6 @@ halfpage(int flag, linenr_T Prenum)
 	    if (curwin->w_topfill > 0)
 	    {
 		i = 1;
-		if (--n < 0 && scrolled > 0)
-		    break;
 		--curwin->w_topfill;
 	    }
 	    else