1
0
forked from aniani/vim

patch 9.0.0674: build error with tiny version

Problem:    Build error with tiny version.
Solution:   Use PLINES_NOFILL macro.
This commit is contained in:
Bram Moolenaar
2022-10-06 16:03:09 +01:00
parent 46b54747c5
commit 4d31b48a11
2 changed files with 3 additions and 1 deletions

View File

@@ -2258,7 +2258,7 @@ scroll_cursor_bot(int min_scroll, int set_topbot)
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);
min_scrolled += PLINES_NOFILL(lnum);
}
/*

View File

@@ -699,6 +699,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
674,
/**/
673,
/**/