提交 05bc5f96 编写于 作者: B Behdad Esfahbod

[subset] Remove extra iteration

上级 6555f209
......@@ -116,8 +116,9 @@ struct SingleSubstFormat1
glyph_map[(g + delta) & 0xFFFF]); })
;
bool ret = bool (it);
SingleSubst_serialize (c->serializer, it);
return_trace (it.len ());
return_trace (ret);
}
bool sanitize (hb_sanitize_context_t *c) const
......@@ -212,8 +213,9 @@ struct SingleSubstFormat2
{ return hb_pair (glyph_map[p.first], glyph_map[p.second]); })
;
bool ret = bool (it);
SingleSubst_serialize (c->serializer, it);
return_trace (it.len ());
return_trace (ret);
}
bool sanitize (hb_sanitize_context_t *c) const
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册