diff options
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index f153caced..7c44be08e 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -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 { |