(svn r15808) -Codechange: use the new DrawString API in a number of GUIs

This commit is contained in:
rubidium
2009-03-22 12:01:21 +00:00
parent dfe5dad5f6
commit 57174a9301
11 changed files with 51 additions and 52 deletions

View File

@@ -833,7 +833,7 @@ public:
if (i - this->vscroll.pos < this->vscroll.cap) {
str = shared_orders ? STR_END_OF_SHARED_ORDERS : STR_882A_END_OF_ORDERS;
DrawString(2, y, str, (i == this->selected_order) ? TC_WHITE : TC_BLACK);
DrawString(this->widget[ORDER_WIDGET_ORDER_LIST].left + 2, this->widget[ORDER_WIDGET_ORDER_LIST].right - 2, y, str, (i == this->selected_order) ? TC_WHITE : TC_BLACK);
}
}