mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
ex_cmds2: checkall in dialog_changed() is bool
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user