Fix #9649.
- Fix regression introduced in hrev45462: BUnicodeChar::FromUTF8 was no longer advancing the passed in string pointer, resulting in endless loops in functions relying on that behavior such as the locale kit's CoerceFormatTo*() functions.
This commit is contained in:
@@ -253,7 +253,9 @@ BUnicodeChar::FromUTF8(const char **in)
|
|||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
uint32 c = 0;
|
uint32 c = 0;
|
||||||
U8_GET_UNSAFE(*in, i, c);
|
U8_NEXT_UNSAFE(*in, i, c);
|
||||||
|
*in += i;
|
||||||
|
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user