Mercurial > vim
diff src/os_amiga.c @ 15543:dd725a8ab112 v8.1.0779
patch 8.1.0779: argument for message functions is inconsistent
commit https://github.com/vim/vim/commit/32526b3c1846025f0e655f41efd4e5428da16b6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 19 17:43:09 2019 +0100
patch 8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Jan 2019 17:45:07 +0100 |
parents | 55ccc2d353bd |
children | 639b8318472c |
line wrap: on
line diff
--- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -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; }