Patch 9.0.0674

6 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 6, 2022, 11:03:50 AM10/6/22
to vim...@googlegroups.com

Patch 9.0.0674
Problem: Build error with tiny version.
Solution: Use PLINES_NOFILL macro.
Files: src/move.c


*** ../vim-9.0.0673/src/move.c 2022-10-06 15:46:27.932240365 +0100
--- src/move.c 2022-10-06 16:01:02.310190957 +0100
***************
*** 2258,2264 ****
min_scrolled = scrolled;
if (cln > curwin->w_botline && curwin->w_p_sms && curwin->w_p_wrap)
for (linenr_T lnum = curwin->w_botline + 1; lnum <= cln; ++lnum)
! min_scrolled += plines_nofill(lnum);
}

/*
--- 2258,2264 ----
min_scrolled = scrolled;
if (cln > curwin->w_botline && curwin->w_p_sms && curwin->w_p_wrap)
for (linenr_T lnum = curwin->w_botline + 1; lnum <= cln; ++lnum)
! min_scrolled += PLINES_NOFILL(lnum);
}

/*
*** ../vim-9.0.0673/src/version.c 2022-10-06 15:46:27.932240365 +0100
--- src/version.c 2022-10-06 16:02:49.261995577 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 674,
/**/

--
If I tell you "you have a beautiful body", would you hold it against me?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages