diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-06 16:03:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-06 16:03:09 +0100 |
commit | 4d31b48a114c106ec18ceaae9cfd084b8ca7faee (patch) | |
tree | 35526cdf81c3af26b73edf7b29b38561dd85fc97 /src | |
parent | 46b54747c5d252c584571a321231bad9330018ec (diff) | |
download | vim-git-4d31b48a114c106ec18ceaae9cfd084b8ca7faee.tar.gz |
patch 9.0.0674: build error with tiny versionv9.0.0674
Problem: Build error with tiny version.
Solution: Use PLINES_NOFILL macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/move.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 674, +/**/ 673, /**/ 672, |