summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-22 16:52:15 +0000
committerrubidium <rubidium@openttd.org>2009-03-22 16:52:15 +0000
commit9e1cd7ab64332b3e14b87c3a9c443c7878cd82f8 (patch)
tree5f0e930729dad64f8de453abba9a34b827fe3eb7 /src
parentb563cc07552416c4ea19fc1ee4b2cbe8de78224b (diff)
downloadopenttd-9e1cd7ab64332b3e14b87c3a9c443c7878cd82f8.tar.xz
(svn r15815) -Fix (~r15800): bridge strings got truncated too early
Diffstat (limited to 'src')
-rw-r--r--src/bridge_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp
index 8552e7239..157795e27 100644
--- a/src/bridge_gui.cpp
+++ b/src/bridge_gui.cpp
@@ -170,7 +170,7 @@ public:
SetDParam(0, b->material);
DrawSprite(b->sprite, b->pal, 3, y);
- DrawString(44, this->width, y, STR_500D, TC_FROMSTRING);
+ DrawStringMultiLine(44, this->widget[BBSW_BRIDGE_LIST].right, y, y + this->resize.step_height, STR_500D);
y += this->resize.step_height;
}