refactor: rename ga_concat_strings_sep() to ga_concat_strings() (#35498)

This adds a missing change from Vim patch 7.4.279.

N/A patch:
vim-patch:9.1.1691: over-allocation in ga_concat_strings()
This commit is contained in:
zeertzjq
2025-08-27 10:17:12 +08:00
committed by GitHub
parent 4263ec21c2
commit 443278c587
5 changed files with 13 additions and 41 deletions

View File

@@ -1472,7 +1472,7 @@ static void nlua_typval_exec(const char *lcmd, size_t lcmd_len, const char *name
void nlua_exec_ga(garray_T *ga, char *name)
{
char *code = ga_concat_strings_sep(ga, "\n");
char *code = ga_concat_strings(ga, "\n");
size_t len = strlen(code);
nlua_typval_exec(code, len, name, NULL, 0, false, NULL);
xfree(code);