From 8cf7daaaa8b16522cddf0d22ab35d28833b8dbbf Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 29 Apr 2019 19:18:40 +0200 Subject: verb_msg: remove char_u --- src/nvim/undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/undo.c') diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 0a32d9b872..c531a488bc 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1132,7 +1132,7 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf, * existing undo file. */ if (buf->b_u_numhead == 0 && buf->b_u_line_ptr == NULL) { if (p_verbose > 0) - verb_msg((char_u *)_("Skipping undo file write, nothing to undo")); + verb_msg(_("Skipping undo file write, nothing to undo")); goto theend; } -- cgit From a01246c275a9cc1462523a9f8b6be6369cdff70b Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 29 Apr 2019 21:37:22 +0200 Subject: lint --- src/nvim/undo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nvim/undo.c') diff --git a/src/nvim/undo.c b/src/nvim/undo.c index c531a488bc..f5ee0ece8d 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1131,8 +1131,9 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf, /* If there is no undo information at all, quit here after deleting any * existing undo file. */ if (buf->b_u_numhead == 0 && buf->b_u_line_ptr == NULL) { - if (p_verbose > 0) + if (p_verbose > 0) { verb_msg(_("Skipping undo file write, nothing to undo")); + } goto theend; } -- cgit