fix #3151: Save any file with korean would corrupt save file

This commit is contained in:
IntelOrca committed 2016-03-19 13:56:33 +00:00
1 parent 3699c42c61
commit ad250d6ab0
1 file changed
+1
+1
View File
@@ -668,6 +668,7 @@ static void utf8_to_rct2_self(char *buffer, size_t length)
} else {
break;
}
i += 3;
} else {
*dst++ = *src++;
i++;