From d837fc4d03bc2cab4ffcae9c8fb81d4226e30913 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 21 Mar 2009 23:45:34 +0000 Subject: (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station_gui.cpp') 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; -- cgit v1.2.3-70-g09d2