summaryrefslogtreecommitdiffstats
path: root/src/text
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-11 20:07:12 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-11 20:07:12 +0200
commit0aa7f13c32ea1991f4663f5eff1c37478fdf736f (patch)
treea994ac3a72f9b65dfe6648d3086d4415fe2b1234 /src/text
parentlittle fix for cam (diff)
parentremove aps from premake (diff)
downloadre3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.gz
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.bz2
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.lz
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.xz
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.tar.zst
re3-0aa7f13c32ea1991f4663f5eff1c37478fdf736f.zip
Diffstat (limited to 'src/text')
-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
{