mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
alist_add_list() doesn't return -1 anymore
This commit is contained in:
parent
3c3200fc7a
commit
a583bcc76e
@ -1934,8 +1934,7 @@ void ex_argedit(exarg_T *eap)
|
||||
return;
|
||||
i = alist_add_list(1, &s,
|
||||
eap->addr_count > 0 ? (int)eap->line2 : curwin->w_arg_idx + 1);
|
||||
if (i < 0)
|
||||
return;
|
||||
|
||||
curwin->w_arg_idx = i;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user