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 /station_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 'station_gui.c')
-rw-r--r-- | station_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/station_gui.c b/station_gui.c index 0ed5367b1..fbc8882b5 100644 --- a/station_gui.c +++ b/station_gui.c @@ -494,7 +494,7 @@ static const Widget _player_stations_widgets[] = { }; static const WindowDesc _player_stations_desc = { - -1, -1, 358, 162, + WDP_AUTO, WDP_AUTO, 358, 162, WC_STATION_LIST,0, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, _player_stations_widgets, @@ -763,7 +763,7 @@ static void StationViewWndProc(Window *w, WindowEvent *e) static const WindowDesc _station_view_desc = { - -1, -1, 249, 110, + WDP_AUTO, WDP_AUTO, 249, 110, WC_STATION_VIEW,0, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _station_view_widgets, |