mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-02 12:24:15 +00:00
(svn r16599) -Fix [FS#2987] (r16584): reset the 'current' font size after drawing, this way we won't draw other strings too small; only caused problems when tiny/big text strings would use SETX.
This commit is contained in:
parent
0961668e14
commit
6a3a304283
@ -556,6 +556,8 @@ static int DrawString(int left, int right, int top, char *str, const char *last,
|
||||
}
|
||||
}
|
||||
|
||||
_cur_fontsize = FS_NORMAL;
|
||||
|
||||
return align == SA_RIGHT ? min_left : max_right;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user