From 60f1acd0eff217d0e466115765575077782e5767 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 28 Aug 2018 16:01:16 -0400 Subject: ex_cmds2: checkall in dialog_changed() is bool --- src/nvim/ex_cmds2.c | 2 +- src/nvim/window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index c920264791..f7da5b6c97 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -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; diff --git a/src/nvim/window.c b/src/nvim/window.c index 3f66568b58..569b366c00 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -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; -- cgit