提交 ce81c742 编写于 作者: B Behdad Esfahbod

[utf] Fix ASCII

上级 327546e6
......@@ -410,7 +410,7 @@ struct hb_ascii_t
hb_codepoint_t replacement HB_UNUSED)
{
*unicode = *text++;
if (*unicode >= 0x100)
if (*unicode >= 0x0080u)
*unicode = replacement;
return text;
}
......@@ -422,7 +422,7 @@ struct hb_ascii_t
hb_codepoint_t replacement)
{
*unicode = *--text;
if (*unicode >= 0x0080)
if (*unicode >= 0x0080u)
*unicode = replacement;
return text;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册