diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-11 10:12:00 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-11 10:12:00 +0000 |
commit | 47e7ad7771fc361962fdc169caf7c1a3ed875a1d (patch) | |
tree | 6e47823efb2a0ac2553e9bcd1acebfe6c7e7744f /airport_gui.c | |
parent | 21db9ebb8e5692245e1e6d68a045649f6a37166a (diff) | |
download | openttd-47e7ad7771fc361962fdc169caf7c1a3ed875a1d.tar.xz |
(svn r7130) -Codechange: Handle the positioning of windows through the desc->left/top settings with
some special values (WDP_) instead of checking window-class. This also fixes FS#172
now that we can position windows arbitrarily and are not restricted to window-classes.
Diffstat (limited to 'airport_gui.c')
-rw-r--r-- | airport_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/airport_gui.c b/airport_gui.c index 73bd77868..33e6ad96e 100644 --- a/airport_gui.c +++ b/airport_gui.c @@ -124,7 +124,7 @@ static const Widget _air_toolbar_widgets[] = { static const WindowDesc _air_toolbar_desc = { - 0, 22, 86, 36, + WDP_ALIGN_TBR, 22, 86, 36, WC_BUILD_TOOLBAR, 0, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, _air_toolbar_widgets, |