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

[aat/ltag] Whitespace

上级 158f2810
...@@ -37,14 +37,13 @@ struct FTStringRange ...@@ -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,12 +60,11 @@ struct ltag ...@@ -61,12 +60,11 @@ 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:
HBUINT32 version;/* Table version; currently 1 */ HBUINT32 version; /* Table version; currently 1 */
HBUINT32 flags; /* Table flags; currently none defined */ HBUINT32 flags; /* Table flags; currently none defined */
ArrayOf<FTStringRange, HBUINT32> ArrayOf<FTStringRange, HBUINT32>
tagRanges; /* Range for each tag's string */ tagRanges; /* Range for each tag's string */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册