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/term.c b/src/term.c
index cccc94c..e48b16e 100644
--- a/src/term.c
+++ b/src/term.c
@@ -6373,7 +6373,7 @@
return;
/* Highlight title */
- MSG_PUTS_TITLE(_("\n--- Terminal keys ---"));
+ msg_puts_title(_("\n--- Terminal keys ---"));
/*
* do the loop two times:
@@ -6475,9 +6475,9 @@
if (printit)
{
- msg_puts(IObuff);
+ msg_puts((char *)IObuff);
if (code == NULL)
- msg_puts((char_u *)"NULL");
+ msg_puts("NULL");
else
msg_outtrans(code);
}
@@ -7013,7 +7013,7 @@
if (fd == NULL)
{
if (p_verbose > 1)
- verb_msg((char_u *)_("Cannot open $VIMRUNTIME/rgb.txt"));
+ verb_msg(_("Cannot open $VIMRUNTIME/rgb.txt"));
return INVALCOLOR;
}