Mercurial > vim
diff src/if_perl.xs @ 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 | 0fcc1315c061 |
children | 93b78c4a7cd5 |
line wrap: on
line diff
--- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -798,11 +798,11 @@ msg_split( while ((next = strchr(token, '\n')) && !got_int) { *next++ = '\0'; /* replace \n with \0 */ - msg_attr((char_u *)token, attr); + msg_attr(token, attr); token = next; } if (*token && !got_int) - msg_attr((char_u *)token, attr); + msg_attr(token, attr); } #ifndef FEAT_EVAL