mirror of
https://github.com/neovim/neovim.git
synced 2026-04-06 07:38:31 +00:00
refactor(typval.c): fix wrong argument to macro (#38813)
(cherry picked from commit eb9be11da8)
This commit is contained in:
committed by
github-actions[bot]
parent
bf084967d7
commit
49133b4f77
@@ -918,7 +918,7 @@ static list_T *tv_list_slice(list_T *ol, varnumber_T n1, varnumber_T n2)
|
||||
listitem_T *item = tv_list_find(ol, (int)n1);
|
||||
for (; n1 <= n2; n1++) {
|
||||
tv_list_append_tv(l, TV_LIST_ITEM_TV(item));
|
||||
item = TV_LIST_ITEM_NEXT(rettv->vval.v_list, item);
|
||||
item = TV_LIST_ITEM_NEXT(ol, item);
|
||||
}
|
||||
return l;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user