diff options
author | rubidium <rubidium@openttd.org> | 2009-08-23 19:03:09 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-08-23 19:03:09 +0000 |
commit | aca7ba714a74e6e50f8af8855c884a4a7e53f12a (patch) | |
tree | f0bfaa5031a74cdf0437829144b72d61bfc723b1 /src/build_vehicle_gui.cpp | |
parent | 8fae313f701e38b3437d9db4687654810efebb64 (diff) | |
download | openttd-aca7ba714a74e6e50f8af8855c884a4a7e53f12a.tar.xz |
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r-- | src/build_vehicle_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index e4f924160..8b377047d 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -74,7 +74,7 @@ static const Widget _build_vehicle_widgets[] = { static const NWidgetPart _nested_build_vehicle_widgets[] = { NWidget(NWID_HORIZONTAL), NWidget(WWT_CLOSEBOX, COLOUR_GREY, BUILD_VEHICLE_WIDGET_CLOSEBOX), - NWidget(WWT_CAPTION, COLOUR_GREY, BUILD_VEHICLE_WIDGET_CAPTION), SetFill(1, 0), SetResize(1, 0), SetDataTip(0x0, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS), + NWidget(WWT_CAPTION, COLOUR_GREY, BUILD_VEHICLE_WIDGET_CAPTION), SetFill(true, false), SetResize(1, 0), SetDataTip(0x0, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS), EndContainer(), NWidget(WWT_PANEL, COLOUR_GREY, BUILD_VEHICLE_WIDGET_LIST_CONTROL), /* Sort order + criteria button row. */ @@ -84,7 +84,7 @@ static const NWidgetPart _nested_build_vehicle_widgets[] = { EndContainer(), /* Filter criteria row. */ NWidget(NWID_HORIZONTAL), - NWidget(NWID_SPACER), SetFill(1, 0), + NWidget(NWID_SPACER), SetFill(true, false), NWidget(WWT_DROPDOWN, COLOUR_GREY, BUILD_VEHICLE_WIDGET_CARGO_FILTER_DROPDOWN), SetMinimalSize(159, 12), SetResize(1, 0), SetDataTip(0x0, STR_TOOLTIP_FILTER_CRITERIA), EndContainer(), EndContainer(), |