Simplify Lookup sanitize

This commit is contained in:
Behdad Esfahbod 2010-04-22 00:19:30 -04:00
parent c755cb3e3a
commit 2d98d3bbaa
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ struct Lookup
inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
if (!(SANITIZE (lookupType) && SANITIZE (lookupFlag) && SANITIZE_THIS (subTable))) return false;
if (!(SANITIZE_SELF () && SANITIZE_THIS (subTable))) return false;
if (HB_UNLIKELY (lookupFlag & LookupFlag::UseMarkFilteringSet))
{
USHORT &markFilteringSet = StructAfter<USHORT> (subTable);