1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Merge pull request #2978 from Laserlicht/height

This commit is contained in:
Nordsoft91 2023-09-29 09:36:21 +02:00 committed by GitHub
commit 811680c4c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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