From 27b3538b2fefda9db1c6b3377563d74dce586580 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 4 Jul 2023 13:15:09 +0200 Subject: [PATCH] Fix regression from 9d640656e6a2438c5203e1abb96fdb574f4d0be8 --- Source/Engine/Core/Types/String.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Engine/Core/Types/String.cpp b/Source/Engine/Core/Types/String.cpp index 3de255039..e53f04af7 100644 --- a/Source/Engine/Core/Types/String.cpp +++ b/Source/Engine/Core/Types/String.cpp @@ -113,6 +113,7 @@ void String::Append(const char* chars, int32 count) Platform::MemoryCopy(_data, oldData, oldLength * sizeof(Char)); StringUtils::ConvertANSI2UTF16(chars, _data + oldLength, count, _length); + _length += oldLength; _data[_length] = 0; Platform::Free(oldData);