From a2ff6f7675edc31909fc7f56fd7aff864734ac4d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 16 Jul 2012 15:26:54 +0400 Subject: [PATCH] gui/widget/menue.cpp: fix hint box height calc --- src/gui/widget/menue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 94c0f17da..0dc3b0f4f 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -787,7 +787,7 @@ void CMenuWidget::calcSize() } hint_height = 0; 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; /* assuming all hint icons has the same size ! */ int iw, ih;