Fix sanitize

This commit is contained in:
Behdad Esfahbod 2009-11-11 17:15:03 -05:00
parent 636f017e38
commit d6387757de
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ struct Lookup
inline bool sanitize (SANITIZE_ARG_DEF) { inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
if (!(SANITIZE_SELF/*XXXXXXXXXXXXXX*/ () && SANITIZE_THIS (subTable))) return false; if (!(SANITIZE (lookupType) && SANITIZE (lookupFlag) && SANITIZE_THIS (subTable))) return false;
if (HB_UNLIKELY (lookupFlag & LookupFlag::UseMarkFilteringSet)) if (HB_UNLIKELY (lookupFlag & LookupFlag::UseMarkFilteringSet))
{ {
USHORT &markFilteringSet = NEXT (USHORT, subTable); USHORT &markFilteringSet = NEXT (USHORT, subTable);