mirror of https://github.com/OpenTTD/OpenTTD
(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.
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;
|
return align == SA_RIGHT ? min_left : max_right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue