Reset the buffer size, forgot to restore that to its intended size as 4 seems a bit small.

This commit is contained in:
2022-07-08 16:30:56 +00:00
parent 3632a5afd8
commit eff939cc8f
+1 -1
View File
@@ -96,7 +96,7 @@ void TStringRemoveRange(int startIndex, int count, TString* string) {
if (startIndex < 0 || startIndex > string->Length) return;
if (count <= 0 || count > string->Length - startIndex) return;
char buffer[4] = { 0 };
char buffer[256] = { 0 };
unsigned int startByte = 0;
unsigned int glyphCount = 0;