(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
authorrubidium
Thu, 21 Jun 2007 19:18:49 +0000
changeset 7007 d335c6daf964
parent 7006 bfa3974da32b
child 7008 9f81a6164f43
(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
src/misc_gui.cpp
--- a/src/misc_gui.cpp	Thu Jun 21 19:08:47 2007 +0000
+++ b/src/misc_gui.cpp	Thu Jun 21 19:18:49 2007 +0000
@@ -1213,8 +1213,8 @@
 
 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
+	uint64 params[10];           ///< local copy of _decode_parameters
 	StringID message;            ///< message shown for query window
-	uint64 params[10];           ///< local copy of _decode_parameters
 	bool calledback;             ///< has callback been executed already (internal usage for WE_DESTROY event)
 };
 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d));