1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Whoops-a-birdy

This commit is contained in:
2014-01-22 20:59:25 -08:00
parent 05567a2881
commit 3d1bcf1988
2 changed files with 4 additions and 4 deletions

View File

@ -269,7 +269,7 @@ void plString::IConvertFromIso8859_1(const char *astr, size_t size)
return;
if (size == STRLEN_AUTO)
size = strnlen(astr, -(int32_t)size);
size = strnlen(astr, size);
// Calculate the UTF-8 size
size_t convlen = 0;