summaryrefslogtreecommitdiff
path: root/src/timetable_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-09-16 19:00:53 +0000
committeralberth <alberth@openttd.org>2009-09-16 19:00:53 +0000
commit24e9ee8ab4244b5562d3a780b153b33d1a5b64df (patch)
treeb393d386de7c7af4e76727b9b33d531b4feacfd1 /src/timetable_gui.cpp
parent893f1282cb308fdf38160b68c5b30d3a6180bbda (diff)
downloadopenttd-24e9ee8ab4244b5562d3a780b153b33d1a5b64df.tar.xz
(svn r17557) -Codechange: Pass left and right edge to DrawOrderString().
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r--src/timetable_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp
index 46db9d703..c9267eed1 100644
--- a/src/timetable_gui.cpp
+++ b/src/timetable_gui.cpp
@@ -190,7 +190,7 @@ struct TimetableWindow : Window {
if (!this->vscroll.IsVisible(i)) break;
if (i % 2 == 0) {
- DrawOrderString(v, order, order_id, y, i == selected, true, this->widget[TTV_TIMETABLE_PANEL].right - 4);
+ DrawOrderString(v, order, order_id, y, i == selected, true, this->widget[TTV_TIMETABLE_PANEL].left + 2, this->widget[TTV_TIMETABLE_PANEL].right - 2);
order_id++;