mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-02-18 11:54:40 +01:00
Merge pull request #1228 from limintang/master
Change ga_add_string to ga_copy_string in MMBackend.m
This commit is contained in:
@@ -2803,7 +2803,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
|
||||
|
||||
// Escape each file name and add to the growing array.
|
||||
char_u *escapedFname = vim_strsave_fnameescape((char_u*)[file UTF8String], FALSE);
|
||||
ga_add_string(&filename_array, escapedFname);
|
||||
ga_copy_string(&filename_array, escapedFname);
|
||||
vim_free(escapedFname);
|
||||
}
|
||||
char_u* escapedFilenameList = ga_concat_strings(&filename_array, " ");
|
||||
|
||||
Reference in New Issue
Block a user