summaryrefslogtreecommitdiff
path: root/src/network
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/network
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/network')
-rw-r--r--src/network/network_content_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 7f5951e6a..8f94dd07e 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -811,7 +811,7 @@ static const NWidgetPart _nested_network_content_list_widgets[] = {
/* Bottom. */
NWidget(NWID_HORIZONTAL),
NWidget(NWID_SPACER), SetMinimalSize(10, 0),
- NWidget(NWID_SELECTION),
+ NWidget(NWID_SELECTION, INVALID_COLOUR, -1),
NWidget(WWT_PUSHTXTBTN, COLOUR_WHITE, NCLWW_SELECT_ALL), SetMinimalSize(101, 12),
SetDataTip(STR_CONTENT_SELECT_ALL_CAPTION, STR_CONTENT_SELECT_ALL_CAPTION_TOOLTIP),
NWidget(WWT_PUSHTXTBTN, COLOUR_WHITE, NCLWW_SELECT_UPDATE), SetMinimalSize(101, 12),