From babc850102d49a26bc4905caf1307f78bf8e5db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 3 Mar 2013 01:02:50 +0100 Subject: [PATCH] Text: minor code cleanup. --- src/Text/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text/Font.cpp b/src/Text/Font.cpp index c502be3ae..95df89380 100644 --- a/src/Text/Font.cpp +++ b/src/Text/Font.cpp @@ -85,7 +85,7 @@ void Font::prerender(const std::string& characters, const Vector2i& atlasSize) { charSizes.reserve(charIndices.size()); for(FT_UInt c: charIndices) { CORRADE_INTERNAL_ASSERT_OUTPUT(FT_Load_Glyph(_ftFont, c, FT_LOAD_DEFAULT) == 0); - charSizes.push_back((Vector2i(_ftFont->glyph->metrics.width, _ftFont->glyph->metrics.height))/64); + charSizes.push_back(Vector2i(_ftFont->glyph->metrics.width, _ftFont->glyph->metrics.height)/64); } /* Create texture atlas */