diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-04-08 01:46:29 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-11 12:58:00 -0300 |
commit | a583bcc76e2e50cd752d7c8b3b3320d19229bed0 (patch) | |
tree | 3c30eca6cf11347033fbbb602905ee2ad8946c75 | |
parent | 3c3200fc7abdf22962083de04d3e22914f1992cf (diff) | |
download | rneovim-a583bcc76e2e50cd752d7c8b3b3320d19229bed0.tar.gz rneovim-a583bcc76e2e50cd752d7c8b3b3320d19229bed0.tar.bz2 rneovim-a583bcc76e2e50cd752d7c8b3b3320d19229bed0.zip |
alist_add_list() doesn't return -1 anymore
-rw-r--r-- | src/ex_cmds2.c | 3 |
1 files changed, 1 insertions, 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; } |