1
0
forked from aniani/vim

patch 8.1.0779: argument for message functions is inconsistent

Problem:    Argument for message functions is inconsistent.
Solution:   Make first argument to msg() "char *".
This commit is contained in:
Bram Moolenaar
2019-01-19 17:43:09 +01:00
parent d383c92ec1
commit 32526b3c18
56 changed files with 679 additions and 698 deletions

View File

@@ -1230,10 +1230,10 @@ mch_call_shell(
if (x < 0)
# endif
{
MSG_PUTS(_("Cannot execute "));
msg_puts(_("Cannot execute "));
if (cmd == NULL)
{
MSG_PUTS(_("shell "));
msg_puts(_("shell "));
msg_outtrans(p_sh);
}
else
@@ -1253,7 +1253,7 @@ mch_call_shell(
{
msg_putchar('\n');
msg_outnum((long)x);
MSG_PUTS(_(" returned\n"));
msg_puts(_(" returned\n"));
}
retval = x;
}
@@ -1320,7 +1320,7 @@ mch_call_shell(
if (x < 0)
# endif
{
MSG_PUTS(_("Cannot execute "));
msg_puts(_("Cannot execute "));
if (use_execute)
{
if (cmd == NULL)
@@ -1330,7 +1330,7 @@ mch_call_shell(
}
else
{
MSG_PUTS(_("shell "));
msg_puts(_("shell "));
msg_outtrans(shellcmd);
}
msg_putchar('\n');
@@ -1355,7 +1355,7 @@ mch_call_shell(
{
msg_putchar('\n');
msg_outnum((long)x);
MSG_PUTS(_(" returned\n"));
msg_puts(_(" returned\n"));
}
retval = x;
}