CComponentsText: Fix default font

Origin commit data
------------------
Branch: ni/coolstream
Commit: ae139d4ec2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-03-31 (Tue, 31 Mar 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2015-03-31 09:27:59 +02:00
parent c9833c2f93
commit dabf8d2d8c

View File

@@ -114,7 +114,7 @@ void CComponentsText::initCCText()
{
//set default font, if is no font definied
if (ct_font == NULL)
ct_font = *CNeutrinoFonts::getInstance()->getDynFont(width, height, ct_text, ct_text_style)/*g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]*/;
ct_font = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL];
//define height from font size
height = max(height, ct_font->getHeight());