From 2a935c9025bdc48c4caccba7011182cba54b7de4 Mon Sep 17 00:00:00 2001 From: belugas Date: Mon, 11 Aug 2008 16:31:36 +0000 Subject: (svn r14040) -Codechange:Remove a hard coded value that is not even representative, since captions have their own encoded colours in string. --- src/widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: { -- cgit v1.2.3-54-g00ecf