Mercurial > vim
changeset 30679:815b02faced9 v9.0.0674
patch 9.0.0674: build error with tiny version
Commit: https://github.com/vim/vim/commit/4d31b48a114c106ec18ceaae9cfd084b8ca7faee
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 6 16:03:09 2022 +0100
patch 9.0.0674: build error with tiny version
Problem: Build error with tiny version.
Solution: Use PLINES_NOFILL macro.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Oct 2022 17:15:02 +0200 |
parents | 5da756ebe9fa |
children | ce283d8a7148 |
files | src/move.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/move.c +++ b/src/move.c @@ -2258,7 +2258,7 @@ scroll_cursor_bot(int min_scroll, int se 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); } /*