(svn r15849) -Codechange: provide easy access to the real height of the used fonts

This commit is contained in:
rubidium
2009-03-25 20:01:34 +00:00
parent 3b748ec62f
commit 1328acc03e
4 changed files with 38 additions and 12 deletions

View File

@@ -816,7 +816,7 @@ static int ReallyDoDrawString(const char *string, int x, int y, TextColour colou
* So if the string cannot be drawn, return the original start to say so.*/
if (x >= dpi->left + dpi->width || y >= dpi->top + dpi->height) return x;
if (colour != TC_INVALID) { // the invalid colour flag test should not really occur. But better be safe
if (colour != TC_INVALID) { // the invalid colour flag test should not really occur. But better be safe
switch_colour:;
SetColourRemap(colour);
}