mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
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 *".
32526b3c18
This commit is contained in:
@@ -1635,11 +1635,11 @@ static void list_func_head(ufunc_T *fp, int indent, bool force)
|
||||
{
|
||||
msg_start();
|
||||
if (indent) {
|
||||
MSG_PUTS(" ");
|
||||
msg_puts(" ");
|
||||
}
|
||||
MSG_PUTS(force ? "function! " : "function ");
|
||||
msg_puts(force ? "function! " : "function ");
|
||||
if (fp->uf_name[0] == K_SPECIAL) {
|
||||
MSG_PUTS_ATTR("<SNR>", HL_ATTR(HLF_8));
|
||||
msg_puts_attr("<SNR>", HL_ATTR(HLF_8));
|
||||
msg_puts((const char *)fp->uf_name + 3);
|
||||
} else {
|
||||
msg_puts((const char *)fp->uf_name);
|
||||
|
Reference in New Issue
Block a user