From: Bram Moolenaar Date: Thu, 6 Oct 2022 15:03:09 +0000 (+0100) Subject: patch 9.0.0674: build error with tiny version X-Git-Tag: v9.0.0674 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d31b48a114c106ec18ceaae9cfd084b8ca7faee;p=vim patch 9.0.0674: build error with tiny version Problem: Build error with tiny version. Solution: Use PLINES_NOFILL macro. --- diff --git a/src/move.c b/src/move.c index 474e52d53..139ee177c 100644 --- a/src/move.c +++ b/src/move.c @@ -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); } /* diff --git a/src/version.c b/src/version.c index f16898222..dc3842822 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 674, /**/ 673, /**/