mirror of
https://github.com/vim/vim.git
synced 2025-10-05 05:34:07 -04:00
patch 8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
This commit is contained in:
@@ -5128,7 +5128,7 @@ _WndProc(
|
||||
&& GetMenuState(s_menuBar, pMenu->id, MF_BYCOMMAND) != -1)
|
||||
{
|
||||
++msg_hist_off;
|
||||
msg(pMenu->strings[MENU_INDEX_TIP]);
|
||||
msg((char *)pMenu->strings[MENU_INDEX_TIP]);
|
||||
--msg_hist_off;
|
||||
setcursor();
|
||||
out_flush();
|
||||
|
Reference in New Issue
Block a user