From 8a3bb56230d220b8e1b4dcca517ed95f5341b8c7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 4 Mar 2018 20:14:14 +0100 Subject: patch 8.0.1566: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND. --- src/move.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/move.c') diff --git a/src/move.c b/src/move.c index 45f7be4ed..a56003013 100644 --- a/src/move.c +++ b/src/move.c @@ -184,9 +184,7 @@ update_topline(void) curwin->w_topline = curwin->w_cursor.lnum; curwin->w_botline = curwin->w_topline; curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP; -#ifdef FEAT_SCROLLBIND curwin->w_scbind_pos = 1; -#endif return; } @@ -215,9 +213,7 @@ update_topline(void) curwin->w_topline = 1; curwin->w_botline = 2; curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP; -#ifdef FEAT_SCROLLBIND curwin->w_scbind_pos = 1; -#endif } /* @@ -2773,7 +2769,6 @@ halfpage(int flag, linenr_T Prenum) redraw_later(VALID); } -#if defined(FEAT_CURSORBIND) || defined(PROTO) void do_check_cursorbind(void) { @@ -2846,4 +2841,3 @@ do_check_cursorbind(void) curwin = old_curwin; curbuf = old_curbuf; } -#endif /* FEAT_CURSORBIND */ -- cgit v1.2.1