From 45f189fdcaedd5f95dcbb3ce9a60f746603859e1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 21 Mar 2009 20:12:12 +0000 Subject: (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. --- src/autoreplace_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/autoreplace_gui.cpp') 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++) { -- cgit v1.2.3-54-g00ecf