* BUG: Fix gb.sdl compilation.


git-svn-id: svn://localhost/gambas/trunk@6529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2014-10-10 19:26:07 +00:00
parent 26f3daa0c5
commit c054b753ac

View file

@ -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)