diff options
author | Darkvater <Darkvater@openttd.org> | 2006-11-10 19:24:14 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-11-10 19:24:14 +0000 |
commit | e786cd5c6b828293c6860b838a9180b72a22cab7 (patch) | |
tree | c1fc1f90d309d87f532278a729d8ba806cc319fd /bridge_gui.c | |
parent | 70eba6d52586db62de3566c7e2c704db50a59bc9 (diff) | |
download | openttd-e786cd5c6b828293c6860b838a9180b72a22cab7.tar.xz |
(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)
Diffstat (limited to 'bridge_gui.c')
-rw-r--r-- | bridge_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bridge_gui.c b/bridge_gui.c index c3a808820..f426da18e 100644 --- a/bridge_gui.c +++ b/bridge_gui.c @@ -87,8 +87,8 @@ static const Widget _build_bridge_widgets[] = { }; static const WindowDesc _build_bridge_desc = { - -1, -1, 200, 102, - WC_BUILD_BRIDGE,WC_BUILD_TOOLBAR, + WDP_AUTO, WDP_AUTO, 200, 102, + WC_BUILD_BRIDGE, WC_BUILD_TOOLBAR, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _build_bridge_widgets, BuildBridgeWndProc @@ -104,8 +104,8 @@ static const Widget _build_road_bridge_widgets[] = { }; static const WindowDesc _build_road_bridge_desc = { - -1, -1, 200, 102, - WC_BUILD_BRIDGE,WC_BUILD_TOOLBAR, + WDP_AUTO, WDP_AUTO, 200, 102, + WC_BUILD_BRIDGE, WC_BUILD_TOOLBAR, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _build_road_bridge_widgets, BuildBridgeWndProc |