Mercurial > vim
diff src/term.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 | d89c5b339c2a |
line wrap: on
line diff
--- a/src/term.c +++ b/src/term.c @@ -6373,7 +6373,7 @@ show_termcodes(void) return; /* Highlight title */ - MSG_PUTS_TITLE(_("\n--- Terminal keys ---")); + msg_puts_title(_("\n--- Terminal keys ---")); /* * do the loop two times: @@ -6475,9 +6475,9 @@ show_one_termcode(char_u *name, char_u * 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 @@ gui_get_color_cmn(char_u *name) 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; }