From b2cce8009e1aecd067f78ddb29f47b4b5200e1b1 Mon Sep 17 00:00:00 2001 From: glx Date: Thu, 26 Mar 2009 16:23:25 +0000 Subject: (svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/widget.cpp b/src/widget.cpp index 8e844efd2..27c764ec2 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -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: -- cgit v1.2.3-70-g09d2