1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

height fix

This commit is contained in:
Laserlicht
2023-09-29 00:08:25 +02:00
committed by GitHub
parent 9ba1aa652d
commit 293214bb61

View File

@@ -72,7 +72,7 @@ CTrueTypeFont::~CTrueTypeFont() = default;
size_t CTrueTypeFont::getLineHeight() const size_t CTrueTypeFont::getLineHeight() const
{ {
if (fallbackFont) if (fallbackFont)
fallbackFont->getLineHeight(); return fallbackFont->getLineHeight();
return TTF_FontHeight(font.get()); return TTF_FontHeight(font.get());
} }