From cfb2828897119df1a7d59f883d151b67609b8361 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 6 Sep 2018 20:12:15 -0400 Subject: window: refactor boolean variables in win_close() free_buf (param) and help_window (variable) are bool. --- src/nvim/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nvim/main.c') diff --git a/src/nvim/main.c b/src/nvim/main.c index ab8b33aa12..0698a8dc0d 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -1551,7 +1551,7 @@ static void edit_buffers(mparm_T *parmp, char_u *cwd) /* When w_arg_idx is -1 remove the window (see create_windows()). */ if (curwin->w_arg_idx == -1) { - win_close(curwin, TRUE); + win_close(curwin, true); advance = FALSE; } @@ -1563,7 +1563,7 @@ static void edit_buffers(mparm_T *parmp, char_u *cwd) // When w_arg_idx is -1 remove the window (see create_windows()). if (curwin->w_arg_idx == -1) { ++arg_idx; - win_close(curwin, TRUE); + win_close(curwin, true); advance = FALSE; continue; } @@ -1598,7 +1598,7 @@ static void edit_buffers(mparm_T *parmp, char_u *cwd) did_emsg = FALSE; /* avoid hit-enter prompt */ getout(1); } - win_close(curwin, TRUE); + win_close(curwin, true); advance = FALSE; } if (arg_idx == GARGCOUNT - 1) -- cgit