diff options
author | rubidium <rubidium@openttd.org> | 2009-03-21 23:45:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-21 23:45:34 +0000 |
commit | d837fc4d03bc2cab4ffcae9c8fb81d4226e30913 (patch) | |
tree | 7735a9fe4858662401465187eed99bbd8c49f169 /src/town_gui.cpp | |
parent | 676bf31e82fb666feee5cde9ffc65bdc7a5070a7 (diff) | |
download | openttd-d837fc4d03bc2cab4ffcae9c8fb81d4226e30913.tar.xz |
(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |