mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Rename ga_init2() to ga_init()
This commit is contained in:

committed by
Thiago de Arruda

parent
e02790cad4
commit
5d30654512
@@ -1577,7 +1577,7 @@ static void prt_flush_buffer(void)
|
||||
prt_write_string("s\n");
|
||||
|
||||
ga_clear(&prt_ps_buffer);
|
||||
ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
|
||||
ga_init(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2441,7 +2441,7 @@ int mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
|
||||
prt_bufsiz = psettings->chars_per_line;
|
||||
if (prt_out_mbyte)
|
||||
prt_bufsiz *= 2;
|
||||
ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
|
||||
ga_init(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
|
||||
|
||||
prt_page_num = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user