mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
window: refactor boolean variables in win_close()
free_buf (param) and help_window (variable) are bool.
This commit is contained in:
@@ -6192,7 +6192,7 @@ static int open_cmdwin(void)
|
||||
wp = curwin;
|
||||
set_bufref(&bufref, curbuf);
|
||||
win_goto(old_curwin);
|
||||
win_close(wp, TRUE);
|
||||
win_close(wp, true);
|
||||
|
||||
// win_close() may have already wiped the buffer when 'bh' is
|
||||
// set to 'wipe'.
|
||||
|
Reference in New Issue
Block a user