summaryrefslogtreecommitdiff
path: root/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'strings.cpp')
-rw-r--r--strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings.cpp b/strings.cpp
index ab410b2..0842576 100644
--- a/strings.cpp
+++ b/strings.cpp
@@ -27,7 +27,7 @@ static uint16
String_AddToFile(memory *Memory, char *Char)
{
uint16 FileIndex = Memory_Block_AllocateNew(Memory, F_Strings);
- block_string *String = (block_string *)Memory_Block_AddressAtIndex(Memory, F_Strings, FileIndex);
+ block_string *String = (block_string *)Memory_Block_AddressAtIndex(Memory, F_Strings, FileIndex, 0);
History_Action_Block_Swap(Memory, F_Strings, String);
String->Occupied = 1;
uint16 i = 0;