From e63137f47f01b9567d9d4d9984ef0c5871d95db4 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 11 May 2008 11:41:18 +0000 Subject: (svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors. --- src/network/network_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/network') 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() -- cgit v1.2.3-70-g09d2