diff options
author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 15:54:37 +0200 |
---|---|---|
committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 15:54:37 +0200 |
commit | af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (patch) | |
tree | 76d91c02ec3701babef050228de8a40fe2306dcd /src/text | |
parent | Small unification (diff) | |
download | re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.gz re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.bz2 re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.lz re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.xz re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.tar.zst re3-af6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8.zip |
Diffstat (limited to 'src/text')
-rw-r--r-- | src/text/Text.h | 3 |
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 { |