CComponentsFooter: remove defined font from footer

cch_font has nothing to do with button font and is already
inherited and defined from header class and can be redefined with
setCaptionFont() methode if required.
This commit is contained in:
2016-09-24 01:08:08 +02:00
parent 6f7ee35f24
commit 3af698701b

View File

@@ -68,7 +68,6 @@ void CComponentsFooter::initVarFooter( const int& x_pos, const int& y_pos, const
width = w == 0 ? frameBuffer->getScreenWidth(true) : w;
//init footer height
cch_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT];
height = max(h, cch_font->getHeight());
shadow = shadow_mode;