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/smallmap_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/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 2e9344c96..c9eb2dd13 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -120,8 +120,8 @@ static const NWidgetPart _nested_smallmap_widgets[] = { EndContainer(), EndContainer(), NWidget(NWID_VERTICAL), - NWidget(WWT_PANEL, COLOUR_BROWN, SM_WIDGET_BUTTONSPANEL), SetMinimalSize(88, 1), SetFill(0, 0), EndContainer(), - NWidget(NWID_SPACER), SetFill(0, 1), + NWidget(WWT_PANEL, COLOUR_BROWN, SM_WIDGET_BUTTONSPANEL), SetMinimalSize(88, 1), SetFill(false, false), EndContainer(), + NWidget(NWID_SPACER), SetFill(false, true), EndContainer(), EndContainer(), EndContainer(), @@ -131,7 +131,7 @@ static const NWidgetPart _nested_smallmap_widgets[] = { NWidget(NWID_HORIZONTAL), NWidget(WWT_TEXTBTN, COLOUR_BROWN, SM_WIDGET_ENABLEINDUSTRIES), SetMinimalSize(100, 12), SetDataTip(STR_SMALLMAP_ENABLE_ALL, STR_NULL), NWidget(WWT_TEXTBTN, COLOUR_BROWN, SM_WIDGET_DISABLEINDUSTRIES), SetMinimalSize(102, 12), SetDataTip(STR_SMALLMAP_DISABLE_ALL, STR_NULL), - NWidget(NWID_SPACER), SetFill(1, 0), SetResize(1, 0), + NWidget(NWID_SPACER), SetFill(true, false), SetResize(1, 0), EndContainer(), EndContainer(), NWidget(WWT_RESIZEBOX, COLOUR_BROWN, SM_WIDGET_RESIZEBOX), @@ -1183,7 +1183,7 @@ static const NWidgetPart _nested_extra_view_port_widgets[] = { NWidget(WWT_PANEL, COLOUR_GREY, EVW_SPACER1), SetMinimalSize(1, 22), SetResize(1, 0), EndContainer(), EndContainer(), NWidget(NWID_HORIZONTAL), - NWidget(WWT_PANEL, COLOUR_GREY, EVW_SPACER2), SetFill(1, 1), SetResize(1, 0), EndContainer(), + NWidget(WWT_PANEL, COLOUR_GREY, EVW_SPACER2), SetFill(true, true), SetResize(1, 0), EndContainer(), NWidget(WWT_RESIZEBOX, COLOUR_GREY, EVW_RESIZE), EndContainer(), }; |