Fix toUTF8 in FreeTypeGX

This commit is contained in:
Maschell 2020-08-13 14:13:16 +02:00
parent e6b07f9e67
commit 92cd5c34fc

View File

@ -132,6 +132,7 @@ char *FreeTypeGX::wideCharToUTF8(const wchar_t *strChar) {
pOut[n++] = (char) ((wc & 0x3F) | 0x80);
}
}
pOut[n] = '\0';
return pOut;
}