comparison src/evalfunc.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 41fbbcea0f1b
children 4af72c724093
comparison
equal deleted inserted replaced
15542:5baedae7ca7a 15543:dd725a8ab112
7167 msg_scroll = TRUE; 7167 msg_scroll = TRUE;
7168 msg_clr_eos(); 7168 msg_clr_eos();
7169 7169
7170 for (li = argvars[0].vval.v_list->lv_first; li != NULL; li = li->li_next) 7170 for (li = argvars[0].vval.v_list->lv_first; li != NULL; li = li->li_next)
7171 { 7171 {
7172 msg_puts(tv_get_string(&li->li_tv)); 7172 msg_puts((char *)tv_get_string(&li->li_tv));
7173 msg_putchar('\n'); 7173 msg_putchar('\n');
7174 } 7174 }
7175 7175
7176 /* Ask for choice. */ 7176 /* Ask for choice. */
7177 selected = prompt_for_number(&mouse_used); 7177 selected = prompt_for_number(&mouse_used);
7196 + ga_userinput.ga_len); 7196 + ga_userinput.ga_len);
7197 /* default return is zero == OK */ 7197 /* default return is zero == OK */
7198 } 7198 }
7199 else if (p_verbose > 1) 7199 else if (p_verbose > 1)
7200 { 7200 {
7201 verb_msg((char_u *)_("called inputrestore() more often than inputsave()")); 7201 verb_msg(_("called inputrestore() more often than inputsave()"));
7202 rettv->vval.v_number = 1; /* Failed */ 7202 rettv->vval.v_number = 1; /* Failed */
7203 } 7203 }
7204 } 7204 }
7205 7205
7206 /* 7206 /*