aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-01 19:47:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-01 19:47:38 +0000
commit4ae0e7c922e1d12b9b50e69e6659f9b453c6c905 (patch)
treed1d164b2c3c257bb93e63fc156ab9d1047a580c9
parentunicode-combine: leave a note saying we might need more than 2 combining chars (diff)
unicode-combining: pack struct
-rw-r--r--terminal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index d9261bab..93e6fea8 100644
--- a/terminal.h
+++ b/terminal.h
@@ -81,7 +81,7 @@ struct damage {
struct combining_chars {
uint8_t count;
wchar_t chars[2]; /* This is XTerms default, but there _are_ cases where more are needed */
-};
+} __attribute__((packed));
#endif
struct row {