forked from aniani/vim
updated for version 7.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)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user