mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
This commit is contained in:
parent
9e883ca48f
commit
815f08982a
@ -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 (;;) {
|
||||
|
Loading…
Reference in New Issue
Block a user