mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
height fix
This commit is contained in:
parent
9ba1aa652d
commit
293214bb61
@ -72,7 +72,7 @@ CTrueTypeFont::~CTrueTypeFont() = default;
|
||||
size_t CTrueTypeFont::getLineHeight() const
|
||||
{
|
||||
if (fallbackFont)
|
||||
fallbackFont->getLineHeight();
|
||||
return fallbackFont->getLineHeight();
|
||||
|
||||
return TTF_FontHeight(font.get());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user