[GB.SDL]
* BUG: Fix gb.sdl compilation. git-svn-id: svn://localhost/gambas/trunk@6529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
26f3daa0c5
commit
c054b753ac
1 changed files with 2 additions and 2 deletions
|
@ -393,12 +393,12 @@ void SDLfont::SetFontSize(int size)
|
|||
TTF_SetFontStyle(hSDLfont, style);
|
||||
}
|
||||
|
||||
void SDLfont::getDefaultFontScale()
|
||||
int SDLfont::GetDefaultFontScale()
|
||||
{
|
||||
if (hfontsize <= DEFAULT_FONT_HEIGHT)
|
||||
return DEFAULT_FONT_HEIGHT;
|
||||
else
|
||||
return hfontsize / DEFAULT_FONT_HEIGHT
|
||||
return hfontsize / DEFAULT_FONT_HEIGHT;
|
||||
}
|
||||
|
||||
void SDLfont::SetFontBold(bool state)
|
||||
|
|
Loading…
Reference in a new issue