Slightly optimize UTF-8 parsing
This commit is contained in:
parent
4445e5e2ec
commit
70ea4ac688
|
@ -44,8 +44,8 @@ hb_utf_next (const uint8_t *text,
|
|||
const uint8_t *end,
|
||||
hb_codepoint_t *unicode)
|
||||
{
|
||||
uint8_t c = *text;
|
||||
unsigned int mask, len;
|
||||
hb_codepoint_t c = *text, mask;
|
||||
unsigned int len;
|
||||
|
||||
/* TODO check for overlong sequences? */
|
||||
|
||||
|
|
Loading…
Reference in New Issue