diff options
author | glx <glx@openttd.org> | 2009-03-21 20:06:00 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-03-21 20:06:00 +0000 |
commit | 9fcff01850c4c18543c60cf477926b793052f1fd (patch) | |
tree | b60f373c4dbeca6a61968b68545bba3b1fab659e /src/widget.cpp | |
parent | 93fe44a3c561e357313af0f8332a697b46812474 (diff) | |
download | openttd-9fcff01850c4c18543c60cf477926b793052f1fd.tar.xz |
(svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows
Diffstat (limited to 'src/widget.cpp')
-rw-r--r-- | src/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index 0b10ea51a..82854b7df 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -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]); } - DrawString(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING, TA_CENTER); + DrawString(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING, SA_CENTER); break; case WWT_DROPDOWN: { |