-out and generate executable in the current working directory
This commit is contained in:
1 parent
f96a897821
commit
e14e2c3b4d
5 files changed
+62
-15
No files matched your search
+1
-1
@@ -6547,7 +6547,7 @@ gbString gb_string_make_length(gbAllocator a, void const *init_str, isize num_by
|
||||
header->allocator = a;
|
||||
header->length = num_bytes;
|
||||
header->capacity = num_bytes;
|
||||
if (num_bytes && init_str) {
|
||||
if (num_bytes > 0 && init_str) {
|
||||
gb_memcopy(str, init_str, num_bytes);
|
||||
}
|
||||
str[num_bytes] = '\0';
|
||||
|
||||
Reference in new issue
Block a user