ex_cmds2: checkall in dialog_changed() is bool

This commit is contained in:
Jan Edmund Lazo
2018-08-28 16:01:16 -04:00
parent 3dffc842fe
commit 60f1acd0ef
2 changed files with 2 additions and 2 deletions

View File

@@ -1279,7 +1279,7 @@ bool check_changed(buf_T *buf, int flags)
///
/// @param buf
/// @param checkall may abandon all changed buffers
void dialog_changed(buf_T *buf, int checkall)
void dialog_changed(buf_T *buf, bool checkall)
{
char_u buff[DIALOG_MSG_SIZE];
int ret;

View File

@@ -2882,7 +2882,7 @@ close_others (
}
if (!r) {
if (message && (p_confirm || cmdmod.confirm) && p_write) {
dialog_changed(wp->w_buffer, FALSE);
dialog_changed(wp->w_buffer, false);
if (!win_valid(wp)) { /* autocommands messed wp up */
nextwp = firstwin;
continue;