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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user