(svn r18106) -Codechange: Draw string underline FONT_HEIGHT_NORMAL pixels down, not 10.

This commit is contained in:
peter1138 2009-11-15 19:18:19 +00:00
parent 8e936f2b95
commit 31f7df2cb0
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}
}