summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-01 21:25:25 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-01 21:25:25 +0200
commitf5901aa1959414a728c4ae6a41b8bf8ac7006a66 (patch)
tree8c6320e55865743f0c9f4813b5399f1970004909 /src/quickfix.c
parent2982e702432d0f95c4cec298b8fdcf2780423244 (diff)
downloadvim-git-f5901aa1959414a728c4ae6a41b8bf8ac7006a66.tar.gz
updated for version 7.3.1285v7.3.1285
Problem: No tests for picking a window when selecting an entry in a location list. Not picking the right window sometimes. Solution: Add test 96. Set usable_win appropriately. (Lech Lorens)
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index f7897850e..ebb02827d 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1635,7 +1635,10 @@ qf_jump(qi, dir, errornr, forceit)
FOR_ALL_WINDOWS(usable_win_ptr)
if (usable_win_ptr->w_llist == ll_ref
&& usable_win_ptr->w_buffer->b_p_bt[0] != 'q')
+ {
+ usable_win = 1;
break;
+ }
}
if (!usable_win)