Fix missing commas in -target-featues string by adding missing i increment.

This commit is contained in:
Florian Behr
2023-03-14 13:39:08 +01:00
parent 93f7d3bfb9
commit 8d5c865814

View File

@@ -1369,6 +1369,7 @@ gb_internal char const *target_features_set_to_cstring(gbAllocator allocator, bo
gb_memmove(features + len, feature.text, feature.len);
len += feature.len;
if (with_quotes) features[len++] = '"';
i += 1;
}
features[len++] = 0;