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/vim.h | |
| parent | d383c92ec1d14ffd5c3802f0ffd763e91d547fa8 (diff) | |
| download | vim-git-8.1.0779.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/vim.h')
| -rw-r--r-- | src/vim.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -1630,15 +1630,8 @@ typedef UINT32_TYPEDEF UINT32_T; # define vim_strpbrk(s, cs) (char_u *)strpbrk((char *)(s), (char *)(cs)) #endif -#define MSG(s) msg((char_u *)(s)) -#define MSG_ATTR(s, attr) msg_attr((char_u *)(s), (attr)) #define OUT_STR(s) out_str((char_u *)(s)) #define OUT_STR_NF(s) out_str_nf((char_u *)(s)) -#define MSG_PUTS(s) msg_puts((char_u *)(s)) -#define MSG_PUTS_ATTR(s, a) msg_puts_attr((char_u *)(s), (a)) -#define MSG_PUTS_TITLE(s) msg_puts_title((char_u *)(s)) -#define MSG_PUTS_LONG(s) msg_puts_long_attr((char_u *)(s), 0) -#define MSG_PUTS_LONG_ATTR(s, a) msg_puts_long_attr((char_u *)(s), (a)) #ifdef FEAT_GUI # ifdef FEAT_TERMGUICOLORS |
