(svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string

This commit is contained in:
glx
2009-03-26 16:23:25 +00:00
parent 14eb4b48d2
commit 561e8400ac

View File

@@ -1196,7 +1196,7 @@ NWidgetLeaf::NWidgetLeaf(WidgetType tp, Colours colour, int index, uint16 data,
this->SetFill(true, false);
this->SetResize(1, 0);
this->min_y = 14;
this->SetDataTip(0x0, STR_018C_WINDOW_TITLE_DRAG_THIS);
this->SetDataTip(data, STR_018C_WINDOW_TITLE_DRAG_THIS);
break;
case WWT_HSCROLLBAR: