diff options
author | Darkvater <darkvater@openttd.org> | 2007-01-02 18:43:25 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2007-01-02 18:43:25 +0000 |
commit | 2d2290296d69bc4636e228983b5fa5f0c5708b96 (patch) | |
tree | be9146974287575a40bed7e1756665a26224a565 /misc_gui.c | |
parent | 8017ba21f397cd194f622aad71fed144ced9cb65 (diff) | |
download | openttd-2d2290296d69bc4636e228983b5fa5f0c5708b96.tar.xz |
(svn r7757) -Fix (r7621): x64 did not compile because query_d was too big. Reorder the elements
a bit so it fits (alignment issues).
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc_gui.c b/misc_gui.c index 3f84192ad..693272c2f 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1181,9 +1181,9 @@ enum QueryWidgets { typedef 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 StringID message; ///< message shown for query window uint32 params[20]; ///< local copy of _decode_parameters - void (*proc)(Window*, bool); ///< callback function executed on closing of popup. Window* points to parent, bool is true if 'yes' clicked, false otherwise bool calledback; ///< has callback been executed already (internal usage for WE_DESTROY event) } query_d; assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d)); |