提交 24552ecf 编写于 作者: B Behdad Esfahbod

Remove excess sub_format sanitize

上级 f7adc5e9
......@@ -1460,7 +1460,6 @@ struct PosLookupSubTable
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
TRACE_SANITIZE ();
if (!u.sub_format.sanitize (context)) return false;
switch (lookup_type) {
case Single: return u.single.sanitize (context);
case Pair: return u.pair.sanitize (context);
......
......@@ -732,7 +732,6 @@ struct SubstLookupSubTable
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
TRACE_SANITIZE ();
if (!u.sub_format.sanitize (context)) return false;
switch (lookup_type) {
case Single: return u.single.sanitize (context);
case Multiple: return u.multiple.sanitize (context);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册