diff options
author | rubidium <rubidium@openttd.org> | 2013-06-09 13:55:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-06-09 13:55:33 +0000 |
commit | a2af1f69afd1971f062ca2ce4047496ed0dbf320 (patch) | |
tree | 4c4e01f32aa3d4aaa3f4a69dbda83309917fc397 /src/date_gui.cpp | |
parent | a724a9924bb4b489370befce7dcf3c3a39c310bb (diff) | |
download | openttd-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.cpp | 2 |
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; } |