changeset 11495:66d0ac80f849 draft

(svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string
author glx <glx@openttd.org>
date Thu, 26 Mar 2009 16:23:25 +0000
parents 6af9e6523c41
children 68cc8a4473d8
files src/widget.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -1196,7 +1196,7 @@
 			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: