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:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
674,
|
||||
/**/
|
||||
673,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user