diff options
author | rubidium <rubidium@openttd.org> | 2009-03-21 20:12:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-21 20:12:12 +0000 |
commit | 45f189fdcaedd5f95dcbb3ce9a60f746603859e1 (patch) | |
tree | 963e15fde656667f8ede17763a536b8ec0282ff9 /src/timetable_gui.cpp | |
parent | 9fcff01850c4c18543c60cf477926b793052f1fd (diff) | |
download | openttd-45f189fdcaedd5f95dcbb3ce9a60f746603859e1.tar.xz |
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r-- | src/timetable_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index e6050ee19..2391b3f55 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -205,7 +205,7 @@ struct TimetableWindow : Window { string = STR_TIMETABLE_TRAVEL_FOR; } - DrawStringTruncated(2, y, string, (i == selected) ? TC_WHITE : TC_BLACK, this->widget[TTV_TIMETABLE_PANEL].right - 4); + DrawString(this->widget[TTV_TIMETABLE_PANEL].left + 2, this->widget[TTV_TIMETABLE_PANEL].right - 2, y, string, (i == selected) ? TC_WHITE : TC_BLACK); if (final_order) break; } |