diff src/console_gui.cpp @ 11373:474ba6cc0946 draft

(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
author rubidium <rubidium@openttd.org>
date Sun, 15 Mar 2009 15:12:06 +0000
parents 02313cc6114e
children caf4456fbbf3
line wrap: on
line diff
--- a/src/console_gui.cpp
+++ b/src/console_gui.cpp
@@ -317,12 +317,12 @@
 	{WIDGETS_END}
 };
 
-static const WindowDesc _iconsole_window_desc = {
+static const WindowDesc _iconsole_window_desc(
 	0, 0, 2, 2, 2, 2,
 	WC_CONSOLE, WC_NONE,
 	WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
-	_iconsole_window_widgets,
-};
+	_iconsole_window_widgets
+);
 
 void IConsoleGUIInit()
 {