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