From 32526b3c1846025f0e655f41efd4e5428da16b6c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 19 Jan 2019 17:43:09 +0100 Subject: patch 8.1.0779: argument for message functions is inconsistent Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *". --- src/ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 08dc9d0a0..54515702d 100644 --- a/src/ui.c +++ b/src/ui.c @@ -340,7 +340,7 @@ suspend_shell(void) emsg(_(e_shellempty)); else { - MSG_PUTS(_("new shell started\n")); + msg_puts(_("new shell started\n")); do_shell(NULL, 0); } } @@ -2626,7 +2626,7 @@ yank_cut_buffer0(Display *dpy, VimClipboard *cbd) if (p_verbose > 0) { verbose_enter(); - verb_msg((char_u *)_("Used CUT_BUFFER0 instead of empty selection")); + verb_msg(_("Used CUT_BUFFER0 instead of empty selection")); verbose_leave(); } } -- cgit v1.2.1