This commit is contained in:
twinaphex 2020-06-25 23:10:39 +02:00
parent 1397468496
commit 91f5ca4105
1 changed files with 8 additions and 7 deletions

View File

@ -339,8 +339,9 @@ static char* rcheevos_unescape_string(const char* string, size_t length)
if (utf16_to_char_string(utf16, utf8, sizeof(utf8)))
{
memcpy(buffer_it, utf8, strlen(utf8));
buffer_it += strlen(utf8);
size_t utf8_len = strlen(utf8);
memcpy(buffer_it, utf8, utf8_len);
buffer_it += utf8_len;
}
}
break;