diff options
author | rubidium <rubidium@openttd.org> | 2009-03-21 20:12:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-21 20:12:12 +0000 |
commit | 45f189fdcaedd5f95dcbb3ce9a60f746603859e1 (patch) | |
tree | 963e15fde656667f8ede17763a536b8ec0282ff9 /src/autoreplace_gui.cpp | |
parent | 9fcff01850c4c18543c60cf477926b793052f1fd (diff) | |
download | openttd-45f189fdcaedd5f95dcbb3ce9a60f746603859e1.tar.xz |
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
Diffstat (limited to 'src/autoreplace_gui.cpp')
-rw-r--r-- | src/autoreplace_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp index 91372ed5d..2fede9abe 100644 --- a/src/autoreplace_gui.cpp +++ b/src/autoreplace_gui.cpp @@ -306,7 +306,7 @@ public: SetDParam(0, STR_NOT_REPLACING_VEHICLE_SELECTED); } - DrawStringTruncated(this->widget[RVW_WIDGET_INFO_TAB].left + 6, this->widget[RVW_WIDGET_INFO_TAB].top + 1, STR_02BD, TC_BLACK, this->GetWidgetWidth(RVW_WIDGET_INFO_TAB) - 12); + DrawString(this->widget[RVW_WIDGET_INFO_TAB].left + 6, this->widget[RVW_WIDGET_INFO_TAB].right - 6, this->widget[RVW_WIDGET_INFO_TAB].top + 1, STR_02BD, TC_BLACK); /* Draw the lists */ for (byte i = 0; i < 2; i++) { |