mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 13:23:46 +00:00
(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
This commit is contained in:
parent
0b34c9aefe
commit
046b6f18da
@ -1213,8 +1213,8 @@ enum QueryWidgets {
|
|||||||
|
|
||||||
struct query_d {
|
struct query_d {
|
||||||
void (*proc)(Window*, bool); ///< callback function executed on closing of popup. Window* points to parent, bool is true if 'yes' clicked, false otherwise
|
void (*proc)(Window*, bool); ///< callback function executed on closing of popup. Window* points to parent, bool is true if 'yes' clicked, false otherwise
|
||||||
StringID message; ///< message shown for query window
|
|
||||||
uint64 params[10]; ///< local copy of _decode_parameters
|
uint64 params[10]; ///< local copy of _decode_parameters
|
||||||
|
StringID message; ///< message shown for query window
|
||||||
bool calledback; ///< has callback been executed already (internal usage for WE_DESTROY event)
|
bool calledback; ///< has callback been executed already (internal usage for WE_DESTROY event)
|
||||||
};
|
};
|
||||||
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d));
|
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d));
|
||||||
|
Loading…
Reference in New Issue
Block a user