Mercurial > vim
diff src/farsi.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 | e45c6e4d78af |
children |
line wrap: on
line diff
--- a/src/farsi.c +++ b/src/farsi.c @@ -1719,7 +1719,7 @@ conv_to_pvim(void) /* Assume the screen has been messed up: clear it and redraw. */ redraw_later(CLEAR); - MSG_ATTR(farsi_text_1, HL_ATTR(HLF_S)); + msg_attr(farsi_text_1, HL_ATTR(HLF_S)); } /* @@ -1747,7 +1747,7 @@ conv_to_pstd(void) /* Assume the screen has been messed up: clear it and redraw. */ redraw_later(CLEAR); - MSG_ATTR(farsi_text_2, HL_ATTR(HLF_S)); + msg_attr(farsi_text_2, HL_ATTR(HLF_S)); } /* @@ -2150,13 +2150,13 @@ farsi_f8(cmdarg_T *cap UNUSED) { p_fkmap = 0; do_cmdline_cmd((char_u *)"set norl"); - MSG(""); + msg(""); } else { p_fkmap = 1; do_cmdline_cmd((char_u *)"set rl"); - MSG(""); + msg(""); } curwin->w_farsi = curwin->w_farsi ^ W_R_L;