summaryrefslogtreecommitdiff
path: root/src/date_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-09 13:55:33 +0000
committerrubidium <rubidium@openttd.org>2013-06-09 13:55:33 +0000
commita2af1f69afd1971f062ca2ce4047496ed0dbf320 (patch)
tree4c4e01f32aa3d4aaa3f4a69dbda83309917fc397 /src/date_gui.cpp
parenta724a9924bb4b489370befce7dcf3c3a39c310bb (diff)
downloadopenttd-a2af1f69afd1971f062ca2ce4047496ed0dbf320.tar.xz
(svn r25377) -Feature: timetable spreading of vehicles by Ctrl+Click when setting a start date
Diffstat (limited to 'src/date_gui.cpp')
-rw-r--r--src/date_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date_gui.cpp b/src/date_gui.cpp
index 1287c4463..2866d175e 100644
--- a/src/date_gui.cpp
+++ b/src/date_gui.cpp
@@ -146,7 +146,7 @@ struct SetDateWindow : Window {
break;
case WID_SD_SET_DATE:
- if (this->callback != NULL) this->callback(this->parent, ConvertYMDToDate(this->date.year, this->date.month, this->date.day));
+ if (this->callback != NULL) this->callback(this, ConvertYMDToDate(this->date.year, this->date.month, this->date.day));
delete this;
break;
}