comparison src/gui_w32.c @ 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 55ccc2d353bd
children 9bd2372432cf
comparison
equal deleted inserted replaced
15542:5baedae7ca7a 15543:dd725a8ab112
5126 pMenu = gui_mswin_find_menu(root_menu, idButton); 5126 pMenu = gui_mswin_find_menu(root_menu, idButton);
5127 if (pMenu != NULL && pMenu->strings[MENU_INDEX_TIP] != 0 5127 if (pMenu != NULL && pMenu->strings[MENU_INDEX_TIP] != 0
5128 && GetMenuState(s_menuBar, pMenu->id, MF_BYCOMMAND) != -1) 5128 && GetMenuState(s_menuBar, pMenu->id, MF_BYCOMMAND) != -1)
5129 { 5129 {
5130 ++msg_hist_off; 5130 ++msg_hist_off;
5131 msg(pMenu->strings[MENU_INDEX_TIP]); 5131 msg((char *)pMenu->strings[MENU_INDEX_TIP]);
5132 --msg_hist_off; 5132 --msg_hist_off;
5133 setcursor(); 5133 setcursor();
5134 out_flush(); 5134 out_flush();
5135 did_menu_tip = TRUE; 5135 did_menu_tip = TRUE;
5136 } 5136 }