]> granicus.if.org Git - vim/commitdiff
patch 9.0.0674: build error with tiny version v9.0.0674
authorBram Moolenaar <Bram@vim.org>
Thu, 6 Oct 2022 15:03:09 +0000 (16:03 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 6 Oct 2022 15:03:09 +0000 (16:03 +0100)
Problem:    Build error with tiny version.
Solution:   Use PLINES_NOFILL macro.

src/move.c
src/version.c

index 474e52d530b2270d8732bc4214dc1bc360c5e3cb..139ee177ca49b8bbf7fd1797d7c050e43990a5ba 100644 (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);
     }
 
     /*
index f16898222b3b1ba966e8137a38dd66a524ae10de..dc38428225b96ba3e2728f7ce3d22f2955ded8bf 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    674,
 /**/
     673,
 /**/