summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-12-19 18:03:04 +0000
committeralberth <alberth@openttd.org>2009-12-19 18:03:04 +0000
commit614501b1bec190d40cb3d841df9c6c5d7991736e (patch)
treeed6c609973ebdc5718ef11e8f24de6d4da3f1125 /src/window_gui.h
parent99bb3a95b4dbf7b49c6f18a4b71c1094a7ab47aa (diff)
downloadopenttd-614501b1bec190d40cb3d841df9c6c5d7991736e.tar.xz
(svn r18542) -Codechange: Make nested widget parts obligatory in a window description.
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 15107e424..2f5b44d06 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -141,7 +141,7 @@ struct WindowDesc : ZeroedMemoryAllocator {
WindowDesc(WindowPosition default_pos, int16 def_width, int16 def_height,
WindowClass window_class, WindowClass parent_class, uint32 flags,
- const NWidgetPart *nwid_parts = NULL, int16 nwid_length = 0);
+ const NWidgetPart *nwid_parts, int16 nwid_length);
~WindowDesc();