comparison src/ui.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 d89c5b339c2a
comparison
equal deleted inserted replaced
15542:5baedae7ca7a 15543:dd725a8ab112
338 { 338 {
339 if (*p_sh == NUL) 339 if (*p_sh == NUL)
340 emsg(_(e_shellempty)); 340 emsg(_(e_shellempty));
341 else 341 else
342 { 342 {
343 MSG_PUTS(_("new shell started\n")); 343 msg_puts(_("new shell started\n"));
344 do_shell(NULL, 0); 344 do_shell(NULL, 0);
345 } 345 }
346 } 346 }
347 #endif 347 #endif
348 348
2624 clip_yank_selection(MCHAR, buffer, (long)nbytes, cbd); 2624 clip_yank_selection(MCHAR, buffer, (long)nbytes, cbd);
2625 XFree((void *)buffer); 2625 XFree((void *)buffer);
2626 if (p_verbose > 0) 2626 if (p_verbose > 0)
2627 { 2627 {
2628 verbose_enter(); 2628 verbose_enter();
2629 verb_msg((char_u *)_("Used CUT_BUFFER0 instead of empty selection")); 2629 verb_msg(_("Used CUT_BUFFER0 instead of empty selection"));
2630 verbose_leave(); 2630 verbose_leave();
2631 } 2631 }
2632 } 2632 }
2633 } 2633 }
2634 #endif 2634 #endif