mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 08:59:09 +00:00
(svn r18106) -Codechange: Draw string underline FONT_HEIGHT_NORMAL pixels down, not 10.
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user