Mercurial > hg > openttd
changeset 18622:d2339f4988df draft
(svn r23469) -Fix (r23468): gcc warning about initialization order
author | yexo <yexo@openttd.org> |
---|---|
date | Sat, 10 Dec 2011 01:49:50 +0000 |
parents | 4389c685b64d |
children | e40d30c0d0c0 |
files | src/network/network_content_gui.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -374,9 +374,9 @@ */ 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);