Explorar el Código

Merge pull request #2978 from Laserlicht/height

Nordsoft91 hace 2 años
padre
commit
811680c4c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client/renderSDL/CTrueTypeFont.cpp

+ 1 - 1
client/renderSDL/CTrueTypeFont.cpp

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