mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
eventlist: fix calculation of theight; ...
FONT_TYPE_EVENTLIST_TITLE isn't used in header
Origin commit data
------------------
Commit: 3e0986e16e
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-23 (Tue, 23 May 2017)
Origin message was:
------------------
- eventlist: fix calculation of theight; ...
FONT_TYPE_EVENTLIST_TITLE isn't used in header
This commit is contained in:
@@ -323,7 +323,7 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
|
||||
iheight = ::paintButtons(0, 0, 0, 1, tmp_button, 0, 0, "", false, COL_MENUFOOT_TEXT, NULL, 0, false);
|
||||
|
||||
// Calculate theight
|
||||
theight = g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE]->getHeight();
|
||||
theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight(); //NI
|
||||
const int pic_h = 39;
|
||||
theight = std::max(theight, pic_h);
|
||||
|
||||
|
Reference in New Issue
Block a user