(svn r7757) -Fix (r7621): x64 did not compile because query_d was too big. Reorder the elements
authorDarkvater
Tue, 02 Jan 2007 18:43:25 +0000
changeset 5724 e6633aa2c817
parent 5723 e5dbef476258
child 5725 8ad0e96437e0
(svn r7757) -Fix (r7621): x64 did not compile because query_d was too big. Reorder the elements
a bit so it fits (alignment issues).
misc_gui.c
--- a/misc_gui.c	Tue Jan 02 18:41:54 2007 +0000
+++ b/misc_gui.c	Tue Jan 02 18:43:25 2007 +0000
@@ -1181,9 +1181,9 @@
 
 
 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));