This commit is contained in:
Behdad Esfahbod committed 2015-02-25 15:43:28 -08:00
1 parent 6b599dac1f
commit 6759ed95a3
2 files changed
+4 -8

No files matched your search

+2 -4
View File
@@ -1431,9 +1431,7 @@ struct PosLookupSubTable
protected:
union {
struct {
USHORT sub_format;
} header;
USHORT sub_format;
SinglePos single;
PairPos pair;
CursivePos cursive;
@@ -1445,7 +1443,7 @@ struct PosLookupSubTable
ExtensionPos extension;
} u;
public:
DEFINE_SIZE_UNION (2, header.sub_format);
DEFINE_SIZE_UNION (2, sub_format);
};
+2 -4
View File
@@ -1131,9 +1131,7 @@ struct SubstLookupSubTable
protected:
union {
struct {
USHORT sub_format;
} header;
USHORT sub_format;
SingleSubst single;
MultipleSubst multiple;
AlternateSubst alternate;
@@ -1144,7 +1142,7 @@ struct SubstLookupSubTable
ReverseChainSingleSubst reverseChainContextSingle;
} u;
public:
DEFINE_SIZE_UNION (2, header.sub_format);
DEFINE_SIZE_UNION (2, sub_format);
};