Changeset - r13572:fd0b19399dc0
[Not reviewed]
master
0 1 0
peter1138 - 15 years ago 2009-11-15 19:18:19
peter1138@openttd.org
(svn r18106) -Codechange: Draw string underline FONT_HEIGHT_NORMAL pixels down, not 10.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/gfx.cpp
Show inline comments
 
@@ -557,7 +557,7 @@ static int DrawString(int left, int righ
 

	
 
		ReallyDoDrawString(to_draw, left, top, colour, !truncate);
 
		if (underline) {
 
			GfxFillRect(left, top + 10, right, top + 10, _string_colourremap[1]);
 
			GfxFillRect(left, top + FONT_HEIGHT_NORMAL, right, top + FONT_HEIGHT_NORMAL, _string_colourremap[1]);
 
		}
 
	}
 

	
0 comments (0 inline, 0 general)