summaryrefslogtreecommitdiff
path: root/src/quickfix.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/quickfix.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/quickfix.c')
-rw-r--r--src/quickfix.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 7ff431834..024952379 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1656,9 +1656,7 @@ win_found:
opened_window = TRUE; /* close it when fail */
p_swb = empty_option; /* don't split again */
swb_flags = 0;
-# ifdef FEAT_SCROLLBIND
- curwin->w_p_scb = FALSE;
-# endif
+ RESET_BINDING(curwin);
if (ll_ref != NULL)
{
/* The new window should use the location list from the
@@ -2334,9 +2332,7 @@ ex_copen(eap)
win_goto(lastwin);
if (win_split(height, WSP_BELOW | WSP_NEWLOC) == FAIL)
return; /* not enough room for window */
-#ifdef FEAT_SCROLLBIND
- curwin->w_p_scb = FALSE;
-#endif
+ RESET_BINDING(curwin);
if (eap->cmdidx == CMD_lopen || eap->cmdidx == CMD_lwindow)
{