(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
authorbelugas
Mon, 11 Aug 2008 16:31:36 +0000
changeset 9892 8dc6b933e669
parent 9891 edc31db66fbb
child 9893 bd16f5239fa4
(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
--- a/src/widget.cpp	Sun Aug 10 21:56:47 2008 +0000
+++ b/src/widget.cpp	Mon Aug 11 16:31:36 2008 +0000
@@ -479,7 +479,7 @@
 				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: {