diff options
author | aap <aap@papnet.eu> | 2020-05-10 19:42:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 19:42:04 +0200 |
commit | 05021ed1e1e5374b38f9ce2912c310c04d358f6d (patch) | |
tree | b9d849f3fc61246f0038e5bec53ef8f61b040b83 /src/text/Text.h | |
parent | some fixes and cosmetic changes (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.gz re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.bz2 re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.lz re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.xz re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.tar.zst re3-05021ed1e1e5374b38f9ce2912c310c04d358f6d.zip |
Diffstat (limited to 'src/text/Text.h')
-rw-r--r-- | src/text/Text.h | 3 |
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 { |