summaryrefslogtreecommitdiff
path: root/src/company_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-09-19 11:55:44 +0000
committeralberth <alberth@openttd.org>2009-09-19 11:55:44 +0000
commitceab116065b3bde0c8932f1006374f9e37529436 (patch)
tree7b059fe2989966b1118df1ec33c5168fffd06ac6 /src/company_gui.cpp
parent116c77c342d0f628235a7f5dbacfbb5bc3fb0829 (diff)
downloadopenttd-ceab116065b3bde0c8932f1006374f9e37529436.tar.xz
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r--src/company_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp
index 0af4ba54e..465910853 100644
--- a/src/company_gui.cpp
+++ b/src/company_gui.cpp
@@ -1443,7 +1443,7 @@ static const NWidgetPart _nested_company_widgets[] = {
EndContainer(),
NWidget(NWID_SPACER), SetMinimalSize(0, 94),
/* Multi player buttons. */
- NWidget(NWID_SELECTION),
+ NWidget(NWID_SELECTION, INVALID_COLOUR, -1),
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetFill(true, false),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_COMPANY_PASSWORD), SetMinimalSize(90, 12), SetPadding(0, 4, 0, 0),
@@ -1458,7 +1458,7 @@ static const NWidgetPart _nested_company_widgets[] = {
NWidget(NWID_SPACER), SetMinimalSize(0, 8),
EndContainer(),
/* Button bars at the bottom. */
- NWidget(NWID_SELECTION),
+ NWidget(NWID_SELECTION, INVALID_COLOUR, -1),
NWidget(NWID_HORIZONTAL),
NWidget(WWT_PUSHTXTBTN, COLOUR_GREY, CW_WIDGET_NEW_FACE), SetMinimalSize(90, 12),
SetDataTip(STR_COMPANY_VIEW_NEW_FACE_BUTTON, STR_COMPANY_VIEW_NEW_FACE_TOOLTIP),