summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-21 23:45:34 +0000
committerrubidium <rubidium@openttd.org>2009-03-21 23:45:34 +0000
commitd837fc4d03bc2cab4ffcae9c8fb81d4226e30913 (patch)
tree7735a9fe4858662401465187eed99bbd8c49f169 /src/station_gui.cpp
parent676bf31e82fb666feee5cde9ffc65bdc7a5070a7 (diff)
downloadopenttd-d837fc4d03bc2cab4ffcae9c8fb81d4226e30913.tar.xz
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index 460f4a947..a5d5360aa 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -863,7 +863,7 @@ struct StationViewWindow : public Window {
assert(b < endof(string));
SetDParamStr(0, string);
- DrawStringMultiLine(2, this->widget[SVW_ACCEPTLIST].top + 1, STR_JUST_RAW_STRING, this->widget[SVW_ACCEPTLIST].right - this->widget[SVW_ACCEPTLIST].left);
+ DrawStringMultiLine(this->widget[SVW_ACCEPTLIST].left + 2, this->widget[SVW_ACCEPTLIST].right - 2, this->widget[SVW_ACCEPTLIST].bottom - 1, this->widget[SVW_ACCEPTLIST].top + 1, STR_JUST_RAW_STRING);
} else { // extended window with list of cargo ratings
y = this->widget[SVW_RATINGLIST].top + 1;