mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 11:29:10 +00:00
(svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user