diff options
author | rubidium <rubidium@openttd.org> | 2008-05-11 11:41:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-11 11:41:18 +0000 |
commit | e63137f47f01b9567d9d4d9984ef0c5871d95db4 (patch) | |
tree | 8cd392a540fd2bd013cfe301924f997a30e4d4ba /src/network | |
parent | 599bc8942ee862f1dc681bb70bb03faf7bb921f0 (diff) | |
download | openttd-e63137f47f01b9567d9d4d9984ef0c5871d95db4.tar.xz |
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 122c601f8..9ef0a88a9 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1038,6 +1038,8 @@ struct NetworkLobbyWindow : public Window { { strcpy(_edit_str_net_buf, ""); this->vscroll.cap = 10; + + this->FindWindowPlacementAndResize(desc); } virtual void OnPaint() |