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:
vanhofen
2017-05-23 18:05:32 +02:00
parent b7e59b8b62
commit e1620dbfe8

View File

@@ -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);