From 747f110420a0b0f4c2e40e00e8456f1e45b6f0de Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 18 Sep 2022 13:06:41 +0100 Subject: patch 9.0.0498: various small issues Problem: Various small issues. Solution: Various small fixes. --- src/arglist.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/arglist.c') 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; } -- cgit v1.2.3