1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 17:32:45 +01:00

(svn r12445) -Fix: Add missing compile asserts for window data structs

This commit is contained in:
peter1138
2008-03-27 15:48:54 +00:00
parent 3256b24dd6
commit ffe07b9292
3 changed files with 3 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ struct newgrf_add_d {
GRFConfig **list;
const GRFConfig *sel;
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(newgrf_add_d));
/* Names of the add a newgrf window widgets */
enum AddNewGRFWindowWidgets {