Changeset - r13978:c678215fc6d9
[Not reviewed]
master
0 1 0
peter1138 - 14 years ago 2009-12-18 19:59:32
peter1138@openttd.org
(svn r18530) -Fix (r18304): Width property set on window instead of width.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/timetable_gui.cpp
Show inline comments
 
@@ -211,7 +211,7 @@ struct TimetableWindow : Window {
 
				SetDParam(0, MAX_YEAR * DAYS_IN_YEAR);
 
				this->deparr_time_width = GetStringBoundingBox(STR_JUST_DATE_TINY).width;
 
				this->deparr_abbr_width = max(GetStringBoundingBox(STR_TIMETABLE_ARRIVAL_ABBREVIATION).width, GetStringBoundingBox(STR_TIMETABLE_DEPARTURE_ABBREVIATION).width);
 
				this->width = WD_FRAMERECT_LEFT + this->deparr_abbr_width + 10 + this->deparr_time_width + WD_FRAMERECT_RIGHT;
 
				size->width = WD_FRAMERECT_LEFT + this->deparr_abbr_width + 10 + this->deparr_time_width + WD_FRAMERECT_RIGHT;
 
				/* fall through */
 
			case TTV_ARRIVAL_DEPARTURE_SELECTION:
 
			case TTV_TIMETABLE_PANEL:
0 comments (0 inline, 0 general)