summaryrefslogtreecommitdiff
path: root/gflib/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'gflib/text.h')
-rw-r--r--gflib/text.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gflib/text.h b/gflib/text.h
index 51d53bf72..4819eb37b 100644
--- a/gflib/text.h
+++ b/gflib/text.h
@@ -200,15 +200,7 @@ struct TextPrinter
void (*callback)(struct TextPrinterTemplate *, u16); // 0x10
- union
-#if !MODERN
- __attribute__((packed))
-#endif
- {
- struct TextPrinterSubStruct sub;
- u8 fields[7];
- } subUnion;
-
+ u8 subStructFields[7]; // always cast to struct TextPrinterSubStruct... so why bother
u8 active;
u8 state; // 0x1C
u8 textSpeed;