patch 8.0.1566: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index b1f80f9..424bac8 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -3232,11 +3232,10 @@
if (eap->cmdidx == CMD_windo)
{
validate_cursor(); /* cursor may have moved */
-#ifdef FEAT_SCROLLBIND
+
/* required when 'scrollbind' has been set */
if (curwin->w_p_scb)
do_check_scrollbind(TRUE);
-#endif
}
if (eap->cmdidx == CMD_windo || eap->cmdidx == CMD_tabdo)