mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.2-214
This commit is contained in:
@@ -4874,14 +4874,14 @@ ExpandUserList(xp, num_file, file)
|
|||||||
/* Loop over the items in the list. */
|
/* Loop over the items in the list. */
|
||||||
for (li = retlist->lv_first; li != NULL; li = li->li_next)
|
for (li = retlist->lv_first; li != NULL; li = li->li_next)
|
||||||
{
|
{
|
||||||
if (li->li_tv.v_type != VAR_STRING)
|
if (li->li_tv.v_type != VAR_STRING || li->li_tv.vval.v_string == NULL)
|
||||||
continue; /* Skip non-string items */
|
continue; /* Skip non-string items and empty strings */
|
||||||
|
|
||||||
if (ga_grow(&ga, 1) == FAIL)
|
if (ga_grow(&ga, 1) == FAIL)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
((char_u **)ga.ga_data)[ga.ga_len] =
|
((char_u **)ga.ga_data)[ga.ga_len] =
|
||||||
vim_strsave(li->li_tv.vval.v_string);
|
vim_strsave(li->li_tv.vval.v_string);
|
||||||
++ga.ga_len;
|
++ga.ga_len;
|
||||||
}
|
}
|
||||||
list_unref(retlist);
|
list_unref(retlist);
|
||||||
|
@@ -676,6 +676,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 */
|
||||||
|
/**/
|
||||||
|
214,
|
||||||
/**/
|
/**/
|
||||||
213,
|
213,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user