Fix previous commit

This commit is contained in:
Oleg Korshul
2020-09-29 10:04:04 +03:00
parent 294bf17dd0
commit 0277d4fbfb

View File

@ -303,6 +303,9 @@ namespace NSUnicodeConverter
bool ansi = true;
std::wstring sResult;
size_t insize = (size_t)nInputLen;
char* inptr = (char*)sInput;
if (nCodepage > 0)
{
#if defined (_WIN32) || defined (_WIN64)