From 13d7ec55a55d2b362d0e3efc0666e5455d39b3fd Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 20 Feb 2015 08:23:07 +0100 Subject: [PATCH] - menue.cpp: fix details_line hight * former code matches only by chance and will fail, when another value than 2 is set in INFO_BOX_Y_OFFSET (cc_item_infobox.h) --- 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 3fe9c55d5..d7565b616 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -1337,7 +1337,7 @@ void CMenuWidget::paintHint(int pos) //init details line and infobox dimensions int ypos1 = item->getYPosition(); int ypos1a = ypos1 + (iheight/2)-2; - int ypos2a = ypos2 + (hint_height/2) - INFO_BOX_Y_OFFSET; + int ypos2a = ypos2 + (hint_height/2)-2; int markh = hint_height > rad*2 ? hint_height - rad*2 : hint_height; int imarkh = iheight/2+1;