diff options
author | belugas <belugas@openttd.org> | 2008-08-11 16:31:36 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-11 16:31:36 +0000 |
commit | ebe9ae2b1755c619953a591c35613e7315954817 (patch) | |
tree | 44d564468e462f1aac5b74dadf4a84b130e3884a /src | |
parent | 8726c2fd998b2c1f3f8020c9bd94904603b7e5a8 (diff) | |
download | openttd-ebe9ae2b1755c619953a591c35613e7315954817.tar.xz |
(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
since captions have their own encoded colours in string.
Diffstat (limited to 'src')
-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 f6401e14d..dda7854cd 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -479,7 +479,7 @@ void Window::DrawWidgets() const GfxFillRect(r.left + 2, r.top + 2, r.right - 2, r.bottom - 2, _colour_gradient[_player_colors[this->caption_color]][4]); } - DrawStringCenteredTruncated(r.left + 2, r.right - 2, r.top + 2, wi->data, 0x84); + DrawStringCenteredTruncated(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING); break; case WWT_DROPDOWN: { |