mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor: add const and remove unnecessary casts (#22841)
This commit is contained in:
@@ -201,7 +201,7 @@ void dialog_changed(buf_T *buf, bool checkall)
|
||||
.forceit = false,
|
||||
};
|
||||
|
||||
dialog_msg((char *)buff, _("Save changes to \"%s\"?"), buf->b_fname);
|
||||
dialog_msg(buff, _("Save changes to \"%s\"?"), buf->b_fname);
|
||||
if (checkall) {
|
||||
ret = vim_dialog_yesnoallcancel(VIM_QUESTION, NULL, buff, 1);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user