diff options
author | Bernard Teo <bernard.14916@gmail.com> | 2019-01-11 16:52:49 +0800 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2020-12-21 23:15:53 +0100 |
commit | 61fb1cac546716fed45e1250be3ed26bffb312ef (patch) | |
tree | bb848c79027762951bdc350f2632c9a9cb0bf8c7 | |
parent | e59c400ca6e56605dd8660630246982f23a16b0a (diff) | |
download | openttd-61fb1cac546716fed45e1250be3ed26bffb312ef.tar.xz |
Cleanup: Move EndContainer() for empty WWT_PANEL to the same line
-rw-r--r-- | src/vehicle_gui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index a1b40ba92..2cc9f9d74 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1390,8 +1390,7 @@ static const NWidgetPart _nested_vehicle_list[] = { NWidget(NWID_HORIZONTAL), NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, WID_VL_SORT_ORDER), SetMinimalSize(81, 12), SetFill(0, 1), SetDataTip(STR_BUTTON_SORT_BY, STR_TOOLTIP_SORT_ORDER), NWidget(WWT_DROPDOWN, COLOUR_GREY, WID_VL_SORT_BY_PULLDOWN), SetMinimalSize(167, 12), SetFill(0, 1), SetDataTip(0x0, STR_TOOLTIP_SORT_CRITERIA), - NWidget(WWT_PANEL, COLOUR_GREY), SetMinimalSize(12, 12), SetFill(1, 1), SetResize(1, 0), - EndContainer(), + NWidget(WWT_PANEL, COLOUR_GREY), SetMinimalSize(12, 12), SetFill(1, 1), SetResize(1, 0), EndContainer(), EndContainer(), NWidget(NWID_HORIZONTAL), |