diff options
author | belugas <belugas@openttd.org> | 2008-08-09 03:30:15 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-09 03:30:15 +0000 |
commit | 82ada4b3d070905d344a76b2756c48403e3de741 (patch) | |
tree | 0219421b113c81a54824e5ea3b1c92e9942cfee9 /src | |
parent | b4b9626172e70ac7f33f92a218a4e57c9e5b4bc6 (diff) | |
download | openttd-82ada4b3d070905d344a76b2756c48403e3de741.tar.xz |
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
Diffstat (limited to 'src')
-rw-r--r-- | src/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp index f32fbffaa..d5749c1b6 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -627,7 +627,7 @@ void DrawStringMultiCenter(int x, int y, StringID str, int maxw) 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 @@ uint DrawStringMultiLine(int x, int y, StringID str, int maxw, int maxh) src = buffer; for (;;) { - DoDrawString(src, x, y, TC_FROMSTRING, false); + DoDrawString(src, x, y, 0xFE, false); _cur_fontsize = _last_fontsize; for (;;) { |