- 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:
Rene Gollent
2013-04-09 18:21:56 -04:00
parent 5b4fb267ad
commit 26f129eff2
+3 -1
View File
@@ -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;
} }