(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 78fcd4e621
commit 7ddfe1c6b2

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