summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-09-21 16:56:35 +0200
committerBram Moolenaar <Bram@vim.org>2010-09-21 16:56:35 +0200
commit3368ea215249b08ebaf64247f7a4f542fb6ba060 (patch)
tree5ea97ed3ee06b2b0f3468fccd7b7f6b9edce9634 /src/search.c
parent2eea198564930225d51188682f548332a064037f (diff)
downloadvim-git-3368ea215249b08ebaf64247f7a4f542fb6ba060.tar.gz
updated for version 7.3.008v7.3.008
Problem: 'cursorbind' is kept in places where 'scrollbind' is reset. Solution: Reset 'cursorbind'.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/search.c b/src/search.c
index 26dac9d20..1c971ffda 100644
--- a/src/search.c
+++ b/src/search.c
@@ -5075,9 +5075,7 @@ search_line:
if (win_split(0, 0) == FAIL)
#endif
break;
-#ifdef FEAT_SCROLLBIND
- curwin->w_p_scb = FALSE;
-#endif
+ RESET_BINDING(curwin);
}
if (depth == -1)
{