This commit is contained in:
Behdad Esfahbod 2012-06-09 03:07:59 -04:00
parent b12e2549cb
commit b1de6aa1f3
2 changed files with 2 additions and 2 deletions

View File

@ -1343,7 +1343,7 @@ struct PosLookupSubTable
inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) {
TRACE_SANITIZE ();
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);
switch (lookup_type) {
case Single: return TRACE_RETURN (u.single.sanitize (c));

View File

@ -1000,7 +1000,7 @@ struct SubstLookupSubTable
inline bool sanitize (hb_sanitize_context_t *c, unsigned int lookup_type) {
TRACE_SANITIZE ();
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);
switch (lookup_type) {
case Single: return TRACE_RETURN (u.single.sanitize (c));