mirror of https://github.com/OpenTTD/OpenTTD
(svn r18106) -Codechange: Draw string underline FONT_HEIGHT_NORMAL pixels down, not 10.
parent
8e936f2b95
commit
31f7df2cb0
|
@ -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);
|
ReallyDoDrawString(to_draw, left, top, colour, !truncate);
|
||||||
if (underline) {
|
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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue