From a583bcc76e2e50cd752d7c8b3b3320d19229bed0 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Tue, 8 Apr 2014 01:46:29 -0300 Subject: [PATCH] alist_add_list() doesn't return -1 anymore --- src/ex_cmds2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index b5be98a491..779c06d928 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -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; }