diff src/widget.cpp @ 11082:9ec1f7eac0a0 draft

(svn r15425) -Codechange: some color->colour changes and type safety.
author rubidium <rubidium@openttd.org>
date Mon, 09 Feb 2009 02:09:47 +0000
parents 02d314ea4f63
children e07c7d3925c8
line wrap: on
line diff
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -257,7 +257,7 @@
 		case WWT_TEXT: {
 			const StringID str = wi->data;
 
-			if (str != STR_NULL) DrawStringTruncated(r.left, r.top, str, wi->colour, r.right - r.left);
+			if (str != STR_NULL) DrawStringTruncated(r.left, r.top, str, (TextColour)wi->colour, r.right - r.left);
 			break;
 		}