summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-07-15 22:51:37 +0000
committeralberth <alberth@openttd.org>2009-07-15 22:51:37 +0000
commit9be387761c9af61fe30e502789e636155e7e1426 (patch)
treea7d3dd0a6c1d51d97c416085711e1a68910558a5 /src/window_gui.h
parent92206f2d18257feb4e95ecce2e48f447bd240201 (diff)
downloadopenttd-9be387761c9af61fe30e502789e636155e7e1426.tar.xz
(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 469da17a0..eee49674b 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -210,7 +210,7 @@ struct Window : ZeroedMemoryAllocator {
};
protected:
- void InitializeData(WindowClass cls, const Widget *widget, NWidgetBase *nwid, int window_number);
+ void InitializeData(WindowClass cls, const Widget *widget, NWidgetBase *nwid, int window_number, int biggest_index);
void InitializePositionSize(int x, int y, int min_width, int min_height);
void FindWindowPlacementAndResize(int def_width, int def_height);
void FindWindowPlacementAndResize(const WindowDesc *desc);