Changeset - r9881:445bb7508eef
[Not reviewed]
master
0 1 0
belugas - 16 years ago 2008-08-09 03:30:15
belugas@openttd.org
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -627,7 +627,7 @@ void DrawStringMultiCenter(int x, int y,
 

	
 
	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, S
 
	src = buffer;
 

	
 
	for (;;) {
 
		DoDrawString(src, x, y, TC_FROMSTRING, false);
 
		DoDrawString(src, x, y, 0xFE, false);
 
		_cur_fontsize = _last_fontsize;
 

	
 
		for (;;) {
0 comments (0 inline, 0 general)