mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor: replace char_u with char 18 (#21237)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -1336,7 +1336,7 @@ static void command_line_scan(mparm_T *parmp)
|
||||
case 's': // "-s {scriptin}" read from script file
|
||||
if (parmp->scriptin != NULL) {
|
||||
scripterror:
|
||||
vim_snprintf((char *)IObuff, IOSIZE,
|
||||
vim_snprintf(IObuff, IOSIZE,
|
||||
_("Attempt to open script file again: \"%s %s\"\n"),
|
||||
argv[-1], argv[0]);
|
||||
os_errmsg(IObuff);
|
||||
@@ -1514,8 +1514,8 @@ static void handle_quickfix(mparm_T *paramp)
|
||||
if (paramp->use_ef != NULL) {
|
||||
set_string_option_direct("ef", -1, paramp->use_ef, OPT_FREE, SID_CARG);
|
||||
}
|
||||
vim_snprintf((char *)IObuff, IOSIZE, "cfile %s", p_ef);
|
||||
if (qf_init(NULL, (char *)p_ef, p_efm, true, (char *)IObuff, p_menc) < 0) {
|
||||
vim_snprintf(IObuff, IOSIZE, "cfile %s", p_ef);
|
||||
if (qf_init(NULL, (char *)p_ef, p_efm, true, IObuff, p_menc) < 0) {
|
||||
msg_putchar('\n');
|
||||
os_exit(3);
|
||||
}
|
||||
@@ -1530,8 +1530,8 @@ static void handle_tag(char_u *tagname)
|
||||
if (tagname != NULL) {
|
||||
swap_exists_did_quit = false;
|
||||
|
||||
vim_snprintf((char *)IObuff, IOSIZE, "ta %s", tagname);
|
||||
do_cmdline_cmd((char *)IObuff);
|
||||
vim_snprintf(IObuff, IOSIZE, "ta %s", tagname);
|
||||
do_cmdline_cmd(IObuff);
|
||||
TIME_MSG("jumping to tag");
|
||||
|
||||
// If the user doesn't want to edit the file then we quit here.
|
||||
|
Reference in New Issue
Block a user