This commit is contained in:
Viktor Andreev
2025-12-10 15:01:52 +06:00
parent 61311457be
commit fb8a72cd6b

View File

@ -90,7 +90,7 @@ static std::wstring convertUtf16ToWString(const UTF16 * Data, int nLength)
return std::wstring();
}
std::wstring wstr ((wchar_t *) pStrUtf32);
std::wstring wstr ((wchar_t *) pStrUtf32, nLength);
delete [] pStrUtf32;
return wstr;