Fix `toUTF8` in FreeTypeGX

This commit is contained in:
Maschell 2020-08-13 14:13:16 +02:00
parent e6b07f9e67
commit 92cd5c34fc
1 changed files with 1 additions and 0 deletions

View File

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