patch 8.1.0450: build failure without the +fold feature
Problem: Build failure without the +fold feature.
Solution: Add #ifdef.
diff --git a/src/screen.c b/src/screen.c
index 01428c4..69f7558 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -2174,15 +2174,14 @@
{
if (wp->w_p_rnu)
{
+#ifdef FEAT_FOLDING
// 'relativenumber' set: The text doesn't need to be drawn, but
// the number column nearly always does.
fold_count = foldedCount(wp, lnum, &win_foldinfo);
if (fold_count != 0)
- {
fold_line(wp, fold_count, &win_foldinfo, lnum, row);
- --fold_count;
- }
else
+#endif
(void)win_line(wp, lnum, srow, wp->w_height, TRUE, TRUE);
}
diff --git a/src/version.c b/src/version.c
index a0aa0dc..88b3a53 100644
--- a/src/version.c
+++ b/src/version.c
@@ -793,6 +793,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 450,
+/**/
449,
/**/
448,