提交 6759ed95 编写于 作者: B Behdad Esfahbod

Minor

上级 6b599dac
...@@ -1431,9 +1431,7 @@ struct PosLookupSubTable ...@@ -1431,9 +1431,7 @@ struct PosLookupSubTable
protected: protected:
union { union {
struct {
USHORT sub_format; USHORT sub_format;
} header;
SinglePos single; SinglePos single;
PairPos pair; PairPos pair;
CursivePos cursive; CursivePos cursive;
...@@ -1445,7 +1443,7 @@ struct PosLookupSubTable ...@@ -1445,7 +1443,7 @@ struct PosLookupSubTable
ExtensionPos extension; ExtensionPos extension;
} u; } u;
public: public:
DEFINE_SIZE_UNION (2, header.sub_format); DEFINE_SIZE_UNION (2, sub_format);
}; };
......
...@@ -1131,9 +1131,7 @@ struct SubstLookupSubTable ...@@ -1131,9 +1131,7 @@ struct SubstLookupSubTable
protected: protected:
union { union {
struct {
USHORT sub_format; USHORT sub_format;
} header;
SingleSubst single; SingleSubst single;
MultipleSubst multiple; MultipleSubst multiple;
AlternateSubst alternate; AlternateSubst alternate;
...@@ -1144,7 +1142,7 @@ struct SubstLookupSubTable ...@@ -1144,7 +1142,7 @@ struct SubstLookupSubTable
ReverseChainSingleSubst reverseChainContextSingle; ReverseChainSingleSubst reverseChainContextSingle;
} u; } u;
public: public:
DEFINE_SIZE_UNION (2, header.sub_format); DEFINE_SIZE_UNION (2, sub_format);
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册