summaryrefslogtreecommitdiff
path: root/src/ai
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/ai
parent676bf31e82fb666feee5cde9ffc65bdc7a5070a7 (diff)
downloadopenttd-d837fc4d03bc2cab4ffcae9c8fb81d4226e30913.tar.xz
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 227396675..76340b4ce 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -104,7 +104,7 @@ struct AIListWindow : public Window {
DrawString(x + 5, this->widget[AIL_WIDGET_LIST].right - 4, y, buf, TC_BLACK);
y += 13;
SetDParamStr(0, selected_info->GetDescription());
- DrawStringMultiLine(4, y, STR_JUST_RAW_STRING, this->width - 8, this->widget[AIL_WIDGET_INFO_BG].bottom - y);
+ DrawStringMultiLine(4, this->width - 8, y, this->widget[AIL_WIDGET_INFO_BG].bottom, STR_JUST_RAW_STRING);
}
}