Glitter Editor improvements. Added OBJHRC to MOT conversion for PV826

This commit is contained in:
korenkonder
2022-12-29 08:43:50 +03:00
parent e570ae190f
commit 3fc7be1b3b
84 changed files with 3303 additions and 1566 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ wchar_t* utf8_to_utf16(const char* s) {
size_t l = 0;
while (*s) {
char t = *s++;
if (~t & 0x80) {
if (!(t & 0x80)) {
l = 0;
str[j++] = t;
c = 0;
@@ -139,7 +139,7 @@ std::wstring utf8_to_utf16(const std::string& s) {
size_t l = 0;
while (*_s) {
char t = *_s++;
if (~t & 0x80) {
if (!(t & 0x80)) {
l = 0;
*_str++ = t;
c = 0;