forked from aniani/vim
updated for version 7.3.1273
Problem: When copying a location list the index might be wrong. Solution: Set the index to one when using the first entry. (Lech Lorens)
This commit is contained in:
parent
55480dccf4
commit
730d2c0747
@ -1180,7 +1180,10 @@ copy_loclist(from, to)
|
|||||||
/* When no valid entries are present in the list, qf_ptr points to
|
/* When no valid entries are present in the list, qf_ptr points to
|
||||||
* the first item in the list */
|
* the first item in the list */
|
||||||
if (to_qfl->qf_nonevalid)
|
if (to_qfl->qf_nonevalid)
|
||||||
|
{
|
||||||
to_qfl->qf_ptr = to_qfl->qf_start;
|
to_qfl->qf_ptr = to_qfl->qf_start;
|
||||||
|
to_qfl->qf_index = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
to->w_llist->qf_curlist = qi->qf_curlist; /* current list */
|
to->w_llist->qf_curlist = qi->qf_curlist; /* current list */
|
||||||
|
@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1273,
|
||||||
/**/
|
/**/
|
||||||
1272,
|
1272,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user