1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-22 05:59:10 +00:00

(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.

This commit is contained in:
rubidium
2009-03-21 19:10:26 +00:00
parent 971ed8d2a3
commit 8a758beec3
7 changed files with 13 additions and 15 deletions

View File

@@ -478,7 +478,7 @@ void Window::DrawWidgets() const
GfxFillRect(r.left + 2, r.top + 2, r.right - 2, r.bottom - 2, _colour_gradient[_company_colours[this->owner]][4]);
}
DrawStringCenteredTruncated(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING);
DrawString(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING, TA_CENTER);
break;
case WWT_DROPDOWN: {