summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-11-10 19:24:14 +0000
committerDarkvater <darkvater@openttd.org>2006-11-10 19:24:14 +0000
commitd50f6c8a8c367ebf2ef0c1a1db14d64366b2243b (patch)
treec1fc1f90d309d87f532278a729d8ba806cc319fd /misc_gui.c
parent0d9f80839f80edf41bd8ed75806b7901a553785a (diff)
downloadopenttd-d50f6c8a8c367ebf2ef0c1a1db14d64366b2243b.tar.xz
(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 1347eede7..030106d66 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -133,7 +133,7 @@ static const Widget _land_info_widgets[] = {
};
static const WindowDesc _land_info_desc = {
- -1, -1, 280, 93,
+ WDP_AUTO, WDP_AUTO, 280, 93,
WC_LAND_INFO,0,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_land_info_widgets,
@@ -440,7 +440,7 @@ static const Widget _build_trees_scen_widgets[] = {
};
static const WindowDesc _build_trees_scen_desc = {
- -1, -1, 143, 184,
+ WDP_AUTO, WDP_AUTO, 143, 184,
WC_BUILD_TREES,0,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_trees_scen_widgets,