patch 8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
diff --git a/src/ui.c b/src/ui.c
index 08dc9d0..5451570 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -340,7 +340,7 @@
emsg(_(e_shellempty));
else
{
- MSG_PUTS(_("new shell started\n"));
+ msg_puts(_("new shell started\n"));
do_shell(NULL, 0);
}
}
@@ -2626,7 +2626,7 @@
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();
}
}