summaryrefslogtreecommitdiff
path: root/src/text
diff options
context:
space:
mode:
Diffstat (limited to 'src/text')
-rw-r--r--src/text/Text.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/text/Text.h b/src/text/Text.h
index 00d1c5e6..a454a095 100644
--- a/src/text/Text.h
+++ b/src/text/Text.h
@@ -12,8 +12,11 @@ struct CKeyEntry
wchar *value;
char key[8];
};
+
// If this fails, CKeyArray::Load will have to be fixed
+#ifdef CHECK_STRUCT_SIZES
static_assert(sizeof(CKeyEntry) == 12, "CKeyEntry: error");
+#endif
class CKeyArray
{