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:
@ -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;
|
||||
|
Reference in New Issue
Block a user