mirror of https://github.com/OpenTTD/OpenTTD
(svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string
parent
9965f02827
commit
b2cce8009e
|
@ -1196,7 +1196,7 @@ NWidgetLeaf::NWidgetLeaf(WidgetType tp, Colours colour, int index, uint16 data,
|
||||||
this->SetFill(true, false);
|
this->SetFill(true, false);
|
||||||
this->SetResize(1, 0);
|
this->SetResize(1, 0);
|
||||||
this->min_y = 14;
|
this->min_y = 14;
|
||||||
this->SetDataTip(0x0, STR_018C_WINDOW_TITLE_DRAG_THIS);
|
this->SetDataTip(data, STR_018C_WINDOW_TITLE_DRAG_THIS);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WWT_HSCROLLBAR:
|
case WWT_HSCROLLBAR:
|
||||||
|
|
Loading…
Reference in New Issue