[aat/ltag] Whitespace

This commit is contained in:
Behdad Esfahbod 2018-03-26 01:14:07 -07:00
parent 158f2810b2
commit a289aaff47
1 changed files with 6 additions and 8 deletions

View File

@ -37,14 +37,13 @@ struct FTStringRange
inline bool sanitize (hb_sanitize_context_t *c, const void *base) const inline bool sanitize (hb_sanitize_context_t *c, const void *base) const
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (c->check_struct (this) && return_trace (c->check_struct (this) && tag (base).sanitize (c, length));
tag (base).sanitize (c, length));
} }
protected: protected:
OffsetTo<UnsizedArrayOf<HBUINT8> > OffsetTo<UnsizedArrayOf<HBUINT8> >
tag; /* Offset from the start of the table to tag; /* Offset from the start of the table to
the beginning of the string */ * the beginning of the string */
HBUINT16 length; /* String length (in bytes) */ HBUINT16 length; /* String length (in bytes) */
public: public:
DEFINE_SIZE_STATIC (4); DEFINE_SIZE_STATIC (4);
@ -61,8 +60,7 @@ struct ltag
inline bool sanitize (hb_sanitize_context_t *c) const inline bool sanitize (hb_sanitize_context_t *c) const
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (c->check_struct (this) && return_trace (c->check_struct (this) && tagRanges.sanitize (c, this));
tagRanges.sanitize (c, this));
} }
protected: protected: