diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index a32b1f27e..3486f1609 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -425,8 +425,7 @@ int CBouquetList::show(bool bShowChannelList) It would be better to get the needed width from CComponententsFooter class. */ - int numButtons = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0])); - width = numButtons*(w_max_icon + w_max_text + numButtons*OFFSET_INNER_MID); + width = (sizeof(CBouquetListButtons)/sizeof(CBouquetListButtons[0]))*(w_max_icon + w_max_text + 2*OFFSET_INNER_MID); height = 16*item_height; header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();