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/town_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/town_gui.cpp') diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 92829150e..98540d014 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -169,7 +169,7 @@ public: if (this->sel_index != -1) { SetDParam(1, (_price.build_industry >> 8) * _town_action_costs[this->sel_index]); SetDParam(0, STR_2046_SMALL_ADVERTISING_CAMPAIGN + this->sel_index); - DrawStringMultiLine(2, this->widget[TWA_ACTION_INFO].top + 1, STR_204D_INITIATE_A_SMALL_LOCAL + this->sel_index, 313); + DrawStringMultiLine(this->widget[TWA_ACTION_INFO].left + 2, this->widget[TWA_ACTION_INFO].right - 2, this->widget[TWA_ACTION_INFO].top + 1, this->widget[TWA_ACTION_INFO].bottom - 1, STR_204D_INITIATE_A_SMALL_LOCAL + this->sel_index); } } -- cgit v1.2.3-54-g00ecf