Mercurial > vim
diff src/mark.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 | 6f1c7e9a6393 |
line wrap: on
line diff
--- 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