From 31f7df2cb05ad5271b4f925f4dd38376006ebcfa Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 15 Nov 2009 19:18:19 +0000 Subject: (svn r18106) -Codechange: Draw string underline FONT_HEIGHT_NORMAL pixels down, not 10. --- src/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx.cpp b/src/gfx.cpp index 062ef34f1..042148b8b 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -557,7 +557,7 @@ static int DrawString(int left, int right, int top, char *str, const char *last, 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]); } } -- cgit v1.2.3-70-g09d2