Fix typo in string_to_string16 #444

This commit is contained in:
gingerBill
2019-10-20 10:50:18 +01:00
parent 2afe4bea67
commit 9f0a28017d

View File

@@ -404,7 +404,7 @@ String16 string_to_string16(gbAllocator a, String s) {
}
text[len] = 0;
return make_string16(text, len-1);
return make_string16(text, len);
}