Mercurial > hg > openttd
changeset 9881:2c191ca3239e draft
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
author | belugas <belugas@openttd.org> |
---|---|
date | Sat, 09 Aug 2008 03:30:15 +0000 |
parents | 90d416b0ef3b |
children | 90de18446acf |
files | src/gfx.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -627,7 +627,7 @@ for (;;) { w = GetStringBoundingBox(src).width; - DoDrawString(src, x - (w >> 1), y, TC_FROMSTRING, false); + DoDrawString(src, x - (w >> 1), y, 0xFE, true); _cur_fontsize = _last_fontsize; for (;;) { @@ -677,7 +677,7 @@ src = buffer; for (;;) { - DoDrawString(src, x, y, TC_FROMSTRING, false); + DoDrawString(src, x, y, 0xFE, false); _cur_fontsize = _last_fontsize; for (;;) {