mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
alist_add_list() doesn't return -1 anymore
This commit is contained in:

committed by
Thiago de Arruda

parent
3c3200fc7a
commit
a583bcc76e
@@ -1934,8 +1934,7 @@ void ex_argedit(exarg_T *eap)
|
|||||||
return;
|
return;
|
||||||
i = alist_add_list(1, &s,
|
i = alist_add_list(1, &s,
|
||||||
eap->addr_count > 0 ? (int)eap->line2 : curwin->w_arg_idx + 1);
|
eap->addr_count > 0 ? (int)eap->line2 : curwin->w_arg_idx + 1);
|
||||||
if (i < 0)
|
|
||||||
return;
|
|
||||||
curwin->w_arg_idx = i;
|
curwin->w_arg_idx = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user