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/rail_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/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index c523977cf..484dd733b 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -1078,9 +1078,9 @@ public: GfxFillRect(8, y - 2, 127, y + 10, 0, FILLRECT_CHECKER); } - DrawStringTruncated(9, y, statspec->name, i == _railstation.station_type ? TC_WHITE : TC_BLACK, 118); + DrawString(9, 127, y, statspec->name, i == _railstation.station_type ? TC_WHITE : TC_BLACK); } else { - DrawStringTruncated(9, y, STR_STAT_CLASS_DFLT, i == _railstation.station_type ? TC_WHITE : TC_BLACK, 118); + DrawString(9, 127, y, STR_STAT_CLASS_DFLT, i == _railstation.station_type ? TC_WHITE : TC_BLACK); } y += 14; |