diff options
Diffstat (limited to 'source/rendering/StarFontTextureGroup.cpp')
-rw-r--r-- | source/rendering/StarFontTextureGroup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rendering/StarFontTextureGroup.cpp b/source/rendering/StarFontTextureGroup.cpp index fe15381..76defee 100644 --- a/source/rendering/StarFontTextureGroup.cpp +++ b/source/rendering/StarFontTextureGroup.cpp @@ -28,9 +28,9 @@ String const& FontTextureGroup::activeFont() { return m_fontName; } -void FontTextureGroup::addFont(FontPtr const& font, String const& name, bool default) { +void FontTextureGroup::addFont(FontPtr const& font, String const& name, bool isDefault) { m_fonts[name] = font; - if (default) + if (isDefault) m_defaultFont = m_font = font; } |