summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-06-30 14:34:23 +0000
committerfrosch <frosch@openttd.org>2013-06-30 14:34:23 +0000
commitdf732f2bae50510799e072ed10ac658711ed4907 (patch)
tree3c5581c6b3284dc8882d88e29c7c722d128bd149 /src/network
parente184b9799cd855eadfae0863a5a7930168535c89 (diff)
downloadopenttd-df732f2bae50510799e072ed10ac658711ed4907.tar.xz
(svn r25534) -Codechange: FinishInitNested calls OnResize, no need to setup scrollbar capacity before that.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 1760030bb..e4af9d5b9 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1354,7 +1354,6 @@ struct NetworkLobbyWindow : public Window {
this->CreateNestedTree();
this->vscroll = this->GetScrollbar(WID_NL_SCROLLBAR);
this->FinishInitNested(WN_NETWORK_WINDOW_LOBBY);
- this->OnResize();
}
CompanyID NetworkLobbyFindCompanyIndex(byte pos) const