-out and generate executable in the current working directory

This commit is contained in:
gingerBill
2018-02-25 11:49:44 +00:00
parent f96a897821
commit e14e2c3b4d
5 changed files with 62 additions and 15 deletions
+1 -1
View File
@@ -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';