summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-06-10 16:37:25 +0000
committerfrosch <frosch@openttd.org>2014-06-10 16:37:25 +0000
commit1b0929a9f04d94d40962cf49a682f1e3f8f800fd (patch)
treec959248f6820bc4946b8eea8b2173e72478652bc /src/newgrf_gui.cpp
parent4d2107bd618ea56e5ee0ac1e7db1aa0b88b6551d (diff)
downloadopenttd-1b0929a9f04d94d40962cf49a682f1e3f8f800fd.tar.xz
(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 7c6d6ab9e..b211c1cb4 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -137,9 +137,8 @@ static void ShowNewGRFInfo(const GRFConfig *c, uint x, uint y, uint right, uint
/* Draw GRF info if it exists */
if (!StrEmpty(c->GetDescription())) {
- SetDParam(0, STR_JUST_RAW_STRING);
- SetDParamStr(1, c->GetDescription());
- y = DrawStringMultiLine(x, right, y, bottom, STR_BLACK_STRING);
+ SetDParamStr(0, c->GetDescription());
+ y = DrawStringMultiLine(x, right, y, bottom, STR_BLACK_RAW_STRING);
} else {
y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_NO_INFO);
}