diff options
author | alberth <alberth@openttd.org> | 2009-11-14 09:58:52 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-11-14 09:58:52 +0000 |
commit | 94261ad01a1ebb5e19fcf37c3e623a0676b2c967 (patch) | |
tree | c7beaceec5c994c7411249dc54960aac1baefb6f /src/window_gui.h | |
parent | 4d84dbb26b5dff5177fd5c6c60398d4748f2ece8 (diff) | |
download | openttd-94261ad01a1ebb5e19fcf37c3e623a0676b2c967.tar.xz |
(svn r18069) -Codechange: Initialize window flags at the same tme as the other fields instead of afterwards.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 57fcd5a02..0a529fffe 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -335,7 +335,7 @@ struct Window : ZeroedMemoryAllocator { }; protected: - void InitializeData(WindowClass cls, const Widget *widget, int window_number); + void InitializeData(WindowClass cls, const Widget *widget, int window_number, uint32 desc_flags); 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); |