infoviewer: make oldinfo a member of the class

Origin commit data
------------------
Branch: ni/coolstream
Commit: 57911bf009
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-21 (Wed, 21 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-11-21 18:19:39 +01:00
parent 05ac640b31
commit 8fa2b5739f
2 changed files with 3 additions and 2 deletions

View File

@@ -117,6 +117,8 @@ CInfoViewer::CInfoViewer ()
Init();
infoViewerBB->Init();
strcpy(old_timestr, "");
oldinfo.current_uniqueKey = 0;
oldinfo.next_uniqueKey = 0;
}
CInfoViewer::~CInfoViewer()
@@ -1297,8 +1299,6 @@ int CInfoViewer::handleMsg (const neutrino_msg_t msg, neutrino_msg_data_t data)
void CInfoViewer::getEPG(const t_channel_id for_channel_id, CSectionsdClient::CurrentNextInfo &info)
{
static CSectionsdClient::CurrentNextInfo oldinfo;
/* to clear the oldinfo for channels without epg, call getEPG() with for_channel_id = 0 */
if (for_channel_id == 0)
{