diff options
author | James McCoy <jamessan@jamessan.com> | 2021-10-23 16:04:37 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-11-01 06:41:29 -0400 |
commit | e6ff154be6da8bd53b604fb6e38686acae75b24f (patch) | |
tree | 8424fa376151d9eabfe5a23c54f19ec4e22ba7ea /src/nvim/mark.c | |
parent | efa924f66b183d9cf2404ce91c4f009c27e0515a (diff) | |
download | rneovim-e6ff154be6da8bd53b604fb6e38686acae75b24f.tar.gz rneovim-e6ff154be6da8bd53b604fb6e38686acae75b24f.tar.bz2 rneovim-e6ff154be6da8bd53b604fb6e38686acae75b24f.zip |
vim-patch:8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
https://github.com/vim/vim/commit/32526b3c1846025f0e655f41efd4e5428da16b6c
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r-- | src/nvim/mark.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c index e351697643..51f4ba635f 100644 --- a/src/nvim/mark.c +++ b/src/nvim/mark.c @@ -711,7 +711,7 @@ static void show_one_mark(int c, char_u *arg, pos_T *p, char_u *name_arg, int cu did_title = false; } else { if (arg == NULL) { - MSG(_("No marks set")); + msg(_("No marks set")); } else { semsg(_("E283: No marks matching \"%s\""), arg); } @@ -839,7 +839,7 @@ void ex_jumps(exarg_T *eap) 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) { name = fm_getname(&curwin->w_jumplist[i].fmark, 16); @@ -871,7 +871,7 @@ void ex_jumps(exarg_T *eap) ui_flush(); } if (curwin->w_jumplistidx == curwin->w_jumplistlen) { - MSG_PUTS("\n>"); + msg_puts("\n>"); } } @@ -891,7 +891,7 @@ void ex_changes(exarg_T *eap) 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) { if (curbuf->b_changelist[i].mark.lnum != 0) { @@ -914,7 +914,7 @@ void ex_changes(exarg_T *eap) ui_flush(); } if (curwin->w_changelistidx == curbuf->b_changelistlen) { - MSG_PUTS("\n>"); + msg_puts("\n>"); } } |