From ba7356b520b73b9080be95bf070b691db258c647 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 6 Aug 2011 13:56:27 +0000 Subject: (svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour. --- src/industry_gui.cpp | 2 +- src/object_gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 83fc4addc..d991c5c70 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -792,7 +792,7 @@ public: /* Use all the available space left from where we stand up to the * end of the window. We ALSO enlarge the window if needed, so we * can 'go' wild with the bottom of the window. */ - y = DrawStringMultiLine(left + WD_FRAMERECT_LEFT, right - WD_FRAMERECT_RIGHT, y, UINT16_MAX, message); + y = DrawStringMultiLine(left + WD_FRAMERECT_LEFT, right - WD_FRAMERECT_RIGHT, y, UINT16_MAX, message, TC_BLACK); StopTextRefStackUsage(); } } diff --git a/src/object_gui.cpp b/src/object_gui.cpp index 1bb7d8ce8..a1bbf3375 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -240,7 +240,7 @@ public: /* Use all the available space left from where we stand up to the * end of the window. We ALSO enlarge the window if needed, so we * can 'go' wild with the bottom of the window. */ - int y = DrawStringMultiLine(r.left, r.right, r.top, UINT16_MAX, message) - r.top; + int y = DrawStringMultiLine(r.left, r.right, r.top, UINT16_MAX, message, TC_ORANGE) - r.top; StopTextRefStackUsage(); if (y > this->info_height) { BuildObjectWindow *bow = const_cast(this); -- cgit v1.2.3-70-g09d2