summaryrefslogtreecommitdiffstats
path: root/src/arglist.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-18 13:06:41 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-18 13:06:41 +0100
commit747f110420a0b0f4c2e40e00e8456f1e45b6f0de (patch)
tree0d72c76dc650a6f4767a219ca22285b1be2950c8 /src/arglist.c
parent9712ff1288f942736ed76c0dec014909f067eec9 (diff)
patch 9.0.0498: various small issuesv9.0.0498
Problem: Various small issues. Solution: Various small fixes.
Diffstat (limited to 'src/arglist.c')
-rw-r--r--src/arglist.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arglist.c b/src/arglist.c
index e44682fa4c..06398e2070 100644
--- a/src/arglist.c
+++ b/src/arglist.c
@@ -982,7 +982,8 @@ arg_all_close_unused_windows(arg_all_state_T *aall)
{
if (i < aall->alist->al_ga.ga_len
&& (AARGLIST(aall->alist)[i].ae_fnum == buf->b_fnum
- || fullpathcmp(alist_name(&AARGLIST(aall->alist)[i]),
+ || fullpathcmp(alist_name(
+ &AARGLIST(aall->alist)[i]),
buf->b_ffname, TRUE, TRUE) & FPC_SAME))
{
int weight = 1;
@@ -1000,7 +1001,8 @@ arg_all_close_unused_windows(arg_all_state_T *aall)
if (i == 0)
{
if (aall->new_curwin != NULL)
- aall->new_curwin->w_arg_idx = aall->opened_len;
+ aall->new_curwin->w_arg_idx =
+ aall->opened_len;
aall->new_curwin = wp;
aall->new_curtab = curtab;
}