summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2011-12-10 01:49:50 +0000
committeryexo <yexo@openttd.org>2011-12-10 01:49:50 +0000
commit1db365d0e2027ca1b2e59efcd2935be1a7afe2e4 (patch)
tree0d67108df21fef2deaddf0cb4e1e90dcce1df7a9 /src/network
parente2a9dd1b0a0bb89e6121fbd860f1a7cdf023b8f4 (diff)
downloadopenttd-1db365d0e2027ca1b2e59efcd2935be1a7afe2e4.tar.xz
(svn r23469) -Fix (r23468): gcc warning about initialization order
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index c91a66900..3b008832d 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -374,9 +374,9 @@ public:
*/
NetworkContentListWindow(const WindowDesc *desc, bool select_all) :
QueryStringBaseWindow(EDITBOX_MAX_SIZE),
+ auto_select(select_all),
selected(NULL),
- list_pos(0),
- auto_select(select_all)
+ list_pos(0)
{
this->CreateNestedTree(desc);
this->vscroll = this->GetScrollbar(NCLWW_SCROLLBAR);