Patch 8.1.0450 (after patch 8.1.0449)
Problem: Build failure without the +fold feature.
Solution: Add #ifdef.
Files: src/screen.c
*** ../vim-8.1.0449/src/screen.c 2018-10-02 21:20:08.688088162 +0200
--- src/screen.c 2018-10-02 21:46:41.722564273 +0200
***************
*** 2174,2188 ****
{
if (wp->w_p_rnu)
{
// 'relativenumber' set: The text doesn't need to be drawn, but
// the number column nearly always does.
fold_count = foldedCount(wp, lnum, &win_foldinfo);
if (fold_count != 0)
- {
fold_line(wp, fold_count, &win_foldinfo, lnum, row);
- --fold_count;
- }
else
(void)win_line(wp, lnum, srow, wp->w_height, TRUE, TRUE);
}
--- 2174,2187 ----
{
if (wp->w_p_rnu)
{
+ #ifdef FEAT_FOLDING
// 'relativenumber' set: The text doesn't need to be drawn, but
// the number column nearly always does.
fold_count = foldedCount(wp, lnum, &win_foldinfo);
if (fold_count != 0)
fold_line(wp, fold_count, &win_foldinfo, lnum, row);
else
+ #endif
(void)win_line(wp, lnum, srow, wp->w_height, TRUE, TRUE);
}
*** ../vim-8.1.0449/src/version.c 2018-10-02 21:20:08.688088162 +0200
--- src/version.c 2018-10-02 21:48:14.785774472 +0200
***************
*** 794,795 ****
--- 794,797 ----
{ /* Add new patch number below this line */
+ /**/
+ 450,
/**/
--
Amazing but true: If all the salmon caught in Canada in one year were laid
end to end across the Sahara Desert, the smell would be absolutely awful.
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
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].
For more options, visit https://groups.google.com/d/optout.