strings done

This commit is contained in:
ed committed 2024-11-30 14:13:30 -05:00
1 parent c6cb583518
commit 79eb5f1f76
4 files changed
+518 -489

No files matched your search

+1 -1
View File
@@ -372,7 +372,7 @@ AllocatorInfo get_string_allocator( s32 str_length )
{
Arena* last = & StringArenas.back();
usize size_req = str_length + sizeof(String::Header) + sizeof(char*);
usize size_req = str_length + sizeof(StringHeader) + sizeof(char*);
if ( last->TotalUsed + ssize(size_req) > last->TotalSize )
{