window: refactor boolean variables in win_close()

free_buf (param) and help_window (variable) are bool.
This commit is contained in:
Jan Edmund Lazo
2018-09-06 20:12:15 -04:00
parent dc15dcffad
commit cfb2828897
7 changed files with 18 additions and 20 deletions

View File

@@ -5510,7 +5510,7 @@ void ex_helpclose(exarg_T *eap)
{
FOR_ALL_WINDOWS_IN_TAB(win, curtab) {
if (bt_help(win->w_buffer)) {
win_close(win, FALSE);
win_close(win, false);
return;
}
}