mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix typo in string_to_string16 #444
This commit is contained in:
+1
-1
@@ -404,7 +404,7 @@ String16 string_to_string16(gbAllocator a, String s) {
|
|||||||
}
|
}
|
||||||
text[len] = 0;
|
text[len] = 0;
|
||||||
|
|
||||||
return make_string16(text, len-1);
|
return make_string16(text, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user