(svn r20242) -Change: remove the need for "{WHITE}" control codes in some of the railtype NewGRF strings

-Fix: make it possible to properly assess the length of the rail toolbar caption
This commit is contained in:
rubidium
2010-07-30 12:15:22 +00:00
parent 2dd77d0ef9
commit ab47c9dea7
2 changed files with 9 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ enum BuildVehicleWidgets {
static const NWidgetPart _nested_build_vehicle_widgets[] = {
NWidget(NWID_HORIZONTAL),
NWidget(WWT_CLOSEBOX, COLOUR_GREY),
NWidget(WWT_CAPTION, COLOUR_GREY, BUILD_VEHICLE_WIDGET_CAPTION), SetDataTip(STR_JUST_STRING, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_CAPTION, COLOUR_GREY, BUILD_VEHICLE_WIDGET_CAPTION), SetDataTip(STR_WHITE_STRING, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
NWidget(WWT_SHADEBOX, COLOUR_GREY),
NWidget(WWT_STICKYBOX, COLOUR_GREY),
EndContainer(),