gui/widget/menue.cpp: fix hint box height calc

This commit is contained in:
[CST] Focus
2012-07-16 15:26:54 +04:00
parent e02258276e
commit a2ff6f7675

View File

@@ -787,7 +787,7 @@ void CMenuWidget::calcSize()
} }
hint_height = 0; hint_height = 0;
if(g_settings.show_menu_hints && has_hints) { if(g_settings.show_menu_hints && has_hints) {
int fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight(); int fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_HINT]->getHeight();
hint_height = 10 + 2*fheight; hint_height = 10 + 2*fheight;
/* assuming all hint icons has the same size ! */ /* assuming all hint icons has the same size ! */
int iw, ih; int iw, ih;