patch 8.0.1566: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
diff --git a/src/window.c b/src/window.c
index 23c324b..337f84d 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4498,9 +4498,7 @@
#endif
new_wp->w_botline = 2;
new_wp->w_cursor.lnum = 1;
-#ifdef FEAT_SCROLLBIND
new_wp->w_scbind_pos = 1;
-#endif
/* We won't calculate w_fraction until resizing the window */
new_wp->w_fraction = 0;
@@ -5659,11 +5657,7 @@
/* Don't change w_topline when height is zero. Don't set w_topline when
* 'scrollbind' is set and this isn't the current window. */
- if (height > 0
-#ifdef FEAT_SCROLLBIND
- && (!wp->w_p_scb || wp == curwin)
-#endif
- )
+ if (height > 0 && (!wp->w_p_scb || wp == curwin))
{
/*
* Find a value for w_topline that shows the cursor at the same