summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-08-06 13:56:27 +0000
committerfrosch <frosch@openttd.org>2011-08-06 13:56:27 +0000
commitba7356b520b73b9080be95bf070b691db258c647 (patch)
treec904dcd9502eaaa3dc5397b49b6a467cb04d9981 /src
parent9e2c2490eb0658eb31d3b1a6358aed78e496b602 (diff)
downloadopenttd-ba7356b520b73b9080be95bf070b691db258c647.tar.xz
(svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour.
Diffstat (limited to 'src')
-rw-r--r--src/industry_gui.cpp2
-rw-r--r--src/object_gui.cpp2
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<BuildObjectWindow *>(this);