summaryrefslogtreecommitdiff
path: root/src/move.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
committerBram Moolenaar <Bram@vim.org>2014-03-23 15:13:05 +0100
commitf7ff6e85e8a4e84cff023f5db4b66ef85986605a (patch)
tree813913a9c1d1418b5b85e3a4bc414dbeb2b3f6a3 /src/move.c
parenta68783751647e3243ca6f22df62907efbdbccb02 (diff)
downloadvim-git-f7ff6e85e8a4e84cff023f5db4b66ef85986605a.tar.gz
updated for version 7.4.212v7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/move.c b/src/move.c
index 67e214bf9..fff0c9c07 100644
--- a/src/move.c
+++ b/src/move.c
@@ -2857,17 +2857,13 @@ do_check_cursorbind()
win_T *old_curwin = curwin;
buf_T *old_curbuf = curbuf;
int restart_edit_save;
-# ifdef FEAT_VISUAL
int old_VIsual_select = VIsual_select;
int old_VIsual_active = VIsual_active;
-# endif
/*
* loop through the cursorbound windows
*/
-# ifdef FEAT_VISUAL
VIsual_select = VIsual_active = 0;
-# endif
for (curwin = firstwin; curwin; curwin = curwin->w_next)
{
curbuf = curwin->w_buffer;
@@ -2916,10 +2912,8 @@ do_check_cursorbind()
/*
* reset current-window
*/
-# ifdef FEAT_VISUAL
VIsual_select = old_VIsual_select;
VIsual_active = old_VIsual_active;
-# endif
curwin = old_curwin;
curbuf = old_curbuf;
}