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

Oops!

上级 b12e2549
...@@ -1343,7 +1343,7 @@ struct PosLookupSubTable ...@@ -1343,7 +1343,7 @@ struct PosLookupSubTable
inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) { inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
if (!u.header.sub_format.sanitize (c) || if (!u.header.sub_format.sanitize (c) ||
(can_use_fast_path (lookup_type)) && !u.header.coverage.sanitize (c, this)) (can_use_fast_path (lookup_type) && !u.header.coverage.sanitize (c, this)))
return TRACE_RETURN (false); return TRACE_RETURN (false);
switch (lookup_type) { switch (lookup_type) {
case Single: return TRACE_RETURN (u.single.sanitize (c)); case Single: return TRACE_RETURN (u.single.sanitize (c));
......
...@@ -1000,7 +1000,7 @@ struct SubstLookupSubTable ...@@ -1000,7 +1000,7 @@ struct SubstLookupSubTable
inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) { inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
if (!u.header.sub_format.sanitize (c) || if (!u.header.sub_format.sanitize (c) ||
(can_use_fast_path (lookup_type)) && !u.header.coverage.sanitize (c, this)) (can_use_fast_path (lookup_type) && !u.header.coverage.sanitize (c, this)))
return TRACE_RETURN (false); return TRACE_RETURN (false);
switch (lookup_type) { switch (lookup_type) {
case Single: return TRACE_RETURN (u.single.sanitize (c)); case Single: return TRACE_RETURN (u.single.sanitize (c));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册