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

This commit is contained in:
IntelOrca 2016-03-19 13:55:14 +00:00
parent 3699c42c61
commit ad250d6ab0
1 changed files with 1 additions and 0 deletions

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++;