summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-19 17:43:09 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-19 17:43:09 +0100
commit32526b3c1846025f0e655f41efd4e5428da16b6c (patch)
treee9f3ea5e0daaada049e905b5f1b38b4a45511f3d /src/term.c
parentd383c92ec1d14ffd5c3802f0ffd763e91d547fa8 (diff)
downloadvim-git-32526b3c1846025f0e655f41efd4e5428da16b6c.tar.gz
patch 8.1.0779: argument for message functions is inconsistentv8.1.0779
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c
index cccc94cf8..e48b16e4e 100644
--- 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 *code, int printit)
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;
}