summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-03-26 16:23:25 +0000
committerglx <glx@openttd.org>2009-03-26 16:23:25 +0000
commitb2cce8009e1aecd067f78ddb29f47b4b5200e1b1 (patch)
tree0134268a505b0a33f65bc8a650d15e5c9b0868dd /src
parent9965f028275f854964424e972d01ad9dba23b8b6 (diff)
downloadopenttd-b2cce8009e1aecd067f78ddb29f47b4b5200e1b1.tar.xz
(svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string
Diffstat (limited to 'src')
-rw-r--r--src/widget.cpp2
1 files changed, 1 insertions, 1 deletions
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: