mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0523: loops are repeated
Problem: Loops are repeated. Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
This commit is contained in:
@@ -1643,7 +1643,7 @@ func_call(
|
||||
int r = 0;
|
||||
|
||||
range_list_materialize(l);
|
||||
FOR_ALL_LIST_ITEMS(args->vval.v_list, item)
|
||||
FOR_ALL_LIST_ITEMS(l, item)
|
||||
{
|
||||
if (argc == MAX_FUNC_ARGS - (partial == NULL ? 0 : partial->pt_argc))
|
||||
{
|
||||
|
Reference in New Issue
Block a user