Fix missing allocator

This commit is contained in:
gingerBill
2020-01-26 21:10:56 +00:00
parent a101e0d7ba
commit 7a4ec48389

View File

@@ -147,7 +147,7 @@ runes_to_string :: proc(runes: []rune, allocator := context.allocator) -> string
byte_count += w;
}
bytes := make([]byte, byte_count);
bytes := make([]byte, byte_count, allocator);
offset := 0;
for r in runes {
b, w := encode_rune(r);