Changeset - r12176:6e196af87a60
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-06-19 12:08:44
rubidium@openttd.org
(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.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -556,6 +556,8 @@ static int DrawString(int left, int righ
 
		}
 
	}
 

	
 
	_cur_fontsize = FS_NORMAL;
 

	
 
	return align == SA_RIGHT ? min_left : max_right;
 
}
 

	
0 comments (0 inline, 0 general)