mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28: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:
@@ -519,10 +519,10 @@ static void nlua_print_event(void **argv)
|
||||
}
|
||||
break;
|
||||
}
|
||||
msg((char_u *)str + start);
|
||||
msg(str + start);
|
||||
}
|
||||
if (len && str[len - 1] == NUL) { // Last was newline
|
||||
msg((char_u *)"");
|
||||
msg("");
|
||||
}
|
||||
xfree(str);
|
||||
}
|
||||
|
Reference in New Issue
Block a user