Mercurial > vim
diff src/edit.c @ 13384:6740c499de13 v8.0.1566
patch 8.0.1566: too many #ifdefs
commit https://github.com/vim/vim/commit/8a3bb56230d220b8e1b4dcca517ed95f5341b8c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 4 20:14:14 2018 +0100
patch 8.0.1566: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Mar 2018 20:15:05 +0100 |
parents | 69517d67421f |
children | 338b15c63e2c |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -764,15 +764,11 @@ edit( */ ins_redraw(TRUE); -#ifdef FEAT_SCROLLBIND if (curwin->w_p_scb) do_check_scrollbind(TRUE); -#endif - -#ifdef FEAT_CURSORBIND + if (curwin->w_p_crb) do_check_cursorbind(); -#endif update_curswant(); old_topline = curwin->w_topline; #ifdef FEAT_DIFF