1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.

This commit is contained in:
rubidium
2008-05-11 11:41:18 +00:00
parent 599bc8942e
commit e63137f47f
6 changed files with 34 additions and 7 deletions

View File

@@ -1038,6 +1038,8 @@ struct NetworkLobbyWindow : public Window {
{
strcpy(_edit_str_net_buf, "");
this->vscroll.cap = 10;
this->FindWindowPlacementAndResize(desc);
}
virtual void OnPaint()