Mercurial > vim
comparison src/vim.h @ 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 | 3ef31ce9d9f9 |
children | 62b3805506b3 |
comparison
equal
deleted
inserted
replaced
15542:5baedae7ca7a | 15543:dd725a8ab112 |
---|---|
1628 | 1628 |
1629 #ifdef HAVE_STRPBRK | 1629 #ifdef HAVE_STRPBRK |
1630 # define vim_strpbrk(s, cs) (char_u *)strpbrk((char *)(s), (char *)(cs)) | 1630 # define vim_strpbrk(s, cs) (char_u *)strpbrk((char *)(s), (char *)(cs)) |
1631 #endif | 1631 #endif |
1632 | 1632 |
1633 #define MSG(s) msg((char_u *)(s)) | |
1634 #define MSG_ATTR(s, attr) msg_attr((char_u *)(s), (attr)) | |
1635 #define OUT_STR(s) out_str((char_u *)(s)) | 1633 #define OUT_STR(s) out_str((char_u *)(s)) |
1636 #define OUT_STR_NF(s) out_str_nf((char_u *)(s)) | 1634 #define OUT_STR_NF(s) out_str_nf((char_u *)(s)) |
1637 #define MSG_PUTS(s) msg_puts((char_u *)(s)) | |
1638 #define MSG_PUTS_ATTR(s, a) msg_puts_attr((char_u *)(s), (a)) | |
1639 #define MSG_PUTS_TITLE(s) msg_puts_title((char_u *)(s)) | |
1640 #define MSG_PUTS_LONG(s) msg_puts_long_attr((char_u *)(s), 0) | |
1641 #define MSG_PUTS_LONG_ATTR(s, a) msg_puts_long_attr((char_u *)(s), (a)) | |
1642 | 1635 |
1643 #ifdef FEAT_GUI | 1636 #ifdef FEAT_GUI |
1644 # ifdef FEAT_TERMGUICOLORS | 1637 # ifdef FEAT_TERMGUICOLORS |
1645 # define GUI_FUNCTION(f) (gui.in_use ? gui_##f : termgui_##f) | 1638 # define GUI_FUNCTION(f) (gui.in_use ? gui_##f : termgui_##f) |
1646 # define GUI_FUNCTION2(f, pixel) (gui.in_use \ | 1639 # define GUI_FUNCTION2(f, pixel) (gui.in_use \ |