diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-19 17:43:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-19 17:43:09 +0100 |
commit | 32526b3c1846025f0e655f41efd4e5428da16b6c (patch) | |
tree | e9f3ea5e0daaada049e905b5f1b38b4a45511f3d /src/mark.c | |
parent | d383c92ec1d14ffd5c3802f0ffd763e91d547fa8 (diff) | |
download | vim-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/mark.c')
-rw-r--r-- | src/mark.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mark.c b/src/mark.c index a9d73b52d..de4b0f97b 100644 --- a/src/mark.c +++ b/src/mark.c @@ -761,7 +761,7 @@ show_one_mark( else { if (arg == NULL) - MSG(_("No marks set")); + msg(_("No marks set")); else semsg(_("E283: No marks matching \"%s\""), arg); } @@ -774,7 +774,7 @@ show_one_mark( if (!did_title) { /* Highlight title */ - MSG_PUTS_TITLE(_("\nmark line col file/text")); + msg_puts_title(_("\nmark line col file/text")); did_title = TRUE; } msg_putchar('\n'); @@ -895,7 +895,7 @@ ex_jumps(exarg_T *eap UNUSED) cleanup_jumplist(curwin, TRUE); /* Highlight title */ - MSG_PUTS_TITLE(_("\n jump line col file/text")); + msg_puts_title(_("\n jump line col file/text")); for (i = 0; i < curwin->w_jumplistlen && !got_int; ++i) { if (curwin->w_jumplist[i].fmark.mark.lnum != 0) @@ -928,7 +928,7 @@ ex_jumps(exarg_T *eap UNUSED) out_flush(); } if (curwin->w_jumplistidx == curwin->w_jumplistlen) - MSG_PUTS("\n>"); + msg_puts("\n>"); } void @@ -949,7 +949,7 @@ ex_changes(exarg_T *eap UNUSED) char_u *name; /* Highlight title */ - MSG_PUTS_TITLE(_("\nchange line col text")); + msg_puts_title(_("\nchange line col text")); for (i = 0; i < curbuf->b_changelistlen && !got_int; ++i) { @@ -975,7 +975,7 @@ ex_changes(exarg_T *eap UNUSED) out_flush(); } if (curwin->w_changelistidx == curbuf->b_changelistlen) - MSG_PUTS("\n>"); + msg_puts("\n>"); } #endif |