summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-06-30 14:32:31 +0000
committerfrosch <frosch@openttd.org>2013-06-30 14:32:31 +0000
commit98fdd20f84c5d1dc64b8b07dca533fc41be4d8e3 (patch)
tree593aaf868f673d36ad7ab6b6ce20818403c82877 /src/rail_gui.cpp
parent631540c4000e0d9236fe52b48b1c4e70497ee3b4 (diff)
downloadopenttd-98fdd20f84c5d1dc64b8b07dca533fc41be4d8e3.tar.xz
(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index 758367b6d..03219e062 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -1356,7 +1356,7 @@ static const NWidgetPart _nested_station_builder_widgets[] = {
NWidget(NWID_SELECTION, INVALID_COLOUR, WID_BRAS_SHOW_NEWST_ADDITIONS),
NWidget(NWID_HORIZONTAL), SetPIP(7, 0, 7), SetPadding(2, 0, 1, 0),
NWidget(WWT_MATRIX, COLOUR_GREY, WID_BRAS_NEWST_LIST), SetMinimalSize(122, 71), SetFill(1, 0),
- SetDataTip(0x501, STR_STATION_BUILD_STATION_CLASS_TOOLTIP), SetScrollbar(WID_BRAS_NEWST_SCROLL),
+ SetMatrixDataTip(1, 5, STR_STATION_BUILD_STATION_CLASS_TOOLTIP), SetScrollbar(WID_BRAS_NEWST_SCROLL),
NWidget(NWID_VSCROLLBAR, COLOUR_GREY, WID_BRAS_NEWST_SCROLL),
EndContainer(),
EndContainer(),