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 | d50f6c8a8c367ebf2ef0c1a1db14d64366b2243b (patch) | |
tree | c1fc1f90d309d87f532278a729d8ba806cc319fd /airport_gui.c | |
parent | 0d9f80839f80edf41bd8ed75806b7901a553785a (diff) | |
download | openttd-d50f6c8a8c367ebf2ef0c1a1db14d64366b2243b.tar.xz |
(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)
Diffstat (limited to 'airport_gui.c')
-rw-r--r-- | airport_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/airport_gui.c b/airport_gui.c index 0104cc645..73bd77868 100644 --- a/airport_gui.c +++ b/airport_gui.c @@ -124,8 +124,8 @@ static const Widget _air_toolbar_widgets[] = { static const WindowDesc _air_toolbar_desc = { - 640-86, 22, 86, 36, - WC_BUILD_TOOLBAR,0, + 0, 22, 86, 36, + WC_BUILD_TOOLBAR, 0, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, _air_toolbar_widgets, BuildAirToolbWndProc @@ -262,8 +262,8 @@ static const Widget _build_airport_picker_widgets[] = { }; static const WindowDesc _build_airport_desc = { - -1, -1, 148, 240, - WC_BUILD_STATION,WC_BUILD_TOOLBAR, + WDP_AUTO, WDP_AUTO, 148, 240, + WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _build_airport_picker_widgets, BuildAirportPickerWndProc |