diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-29 22:11:50 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-29 22:11:50 -0400 |
commit | cf7e351c24349c0351e19fbd4533f715d00bf87c (patch) | |
tree | a91b4b142a5e811691c538611e98a2e6b3657463 /src/nvim/buffer.c | |
parent | 458a6f58b67298ad3df276ffcc525eb3b32b8a56 (diff) | |
download | rneovim-cf7e351c24349c0351e19fbd4533f715d00bf87c.tar.gz rneovim-cf7e351c24349c0351e19fbd4533f715d00bf87c.tar.bz2 rneovim-cf7e351c24349c0351e19fbd4533f715d00bf87c.zip |
lint
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 5ad56ff450..68f6ff303b 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -4533,9 +4533,10 @@ do_arg_all ( use_firstwin = true; } - for (i = 0; i < count && i < opened_len && !got_int; ++i) { - if (alist == &global_alist && i == global_alist.al_ga.ga_len - 1) + for (i = 0; i < count && i < opened_len && !got_int; i++) { + if (alist == &global_alist && i == global_alist.al_ga.ga_len - 1) { arg_had_last = true; + } if (opened[i] > 0) { /* Move the already present window to below the current window */ if (curwin->w_arg_idx != i) { |