(svn r17557) -Codechange: Pass left and right edge to DrawOrderString().

This commit is contained in:
alberth
2009-09-16 19:00:53 +00:00
parent 893f1282cb
commit 24e9ee8ab4
3 changed files with 5 additions and 5 deletions

View File

@@ -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++;