summaryrefslogtreecommitdiff
path: root/core/fxge/ge/cttfontdesc.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/ge/cttfontdesc.h')
-rw-r--r--core/fxge/ge/cttfontdesc.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/core/fxge/ge/cttfontdesc.h b/core/fxge/ge/cttfontdesc.h
index 8fc2a34e71..d756cb947a 100644
--- a/core/fxge/ge/cttfontdesc.h
+++ b/core/fxge/ge/cttfontdesc.h
@@ -28,15 +28,10 @@ class CTTFontDesc {
int ReleaseFace(FXFT_Face face);
int m_Type;
+
union {
- struct {
- FX_BOOL m_bItalic;
- FX_BOOL m_bBold;
- FXFT_Face m_pFace;
- } m_SingleFace;
- struct {
- FXFT_Face m_pFaces[16];
- } m_TTCFace;
+ FXFT_Face m_SingleFace;
+ FXFT_Face m_TTCFaces[16];
};
uint8_t* m_pFontData;
int m_RefCount;