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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221006150335.D0D0A1C0C31%40moolenaar.net.