To: vim_dev@googlegroups.com Subject: Patch 8.2.1118 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1118 Problem: Condition can never be true, dead code. Solution: Remove the dead code. Files: src/move.c *** ../vim-8.2.1117/src/move.c 2020-02-28 22:19:38.314023342 +0100 --- src/move.c 2020-07-02 21:22:42.945685444 +0200 *************** *** 2681,2688 **** if (curwin->w_topfill > 0) { i = 1; - if (--n < 0 && scrolled > 0) - break; --curwin->w_topfill; } else --- 2681,2686 ---- *** ../vim-8.2.1117/src/version.c 2020-07-02 21:17:52.523035495 +0200 --- src/version.c 2020-07-02 21:23:23.425498062 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1118, /**/ -- DENNIS: You can't expect to wield supreme executive power just 'cause some watery tart threw a sword at you! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///