fix: missing account for added whitespace
This commit is contained in:
parent
56cebd5742
commit
7dda7f466b
|
@ -70,7 +70,7 @@ bool lldc_link(TargetConfig* target_config, TargetLinkConfig* link_config) {
|
|||
|
||||
size_t chars = 0;
|
||||
for (guint i = 0; i < arguments->len; i++) {
|
||||
chars += strlen(g_array_index(arguments, char*, i));
|
||||
chars += strlen(g_array_index(arguments, char*, i)) + 1;
|
||||
}
|
||||
|
||||
char* buffer = mem_alloc(MemoryNamespaceLld, chars + 1);
|
||||
|
|
Loading…
Reference in New Issue