mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/channellist.cpp: style, remove space before ()
Origin commit data
------------------
Branch: ni/coolstream
Commit: d0af67f529
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-13 (Tue, 13 Mar 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -181,7 +181,7 @@ void CChannelList::updateEvents(unsigned int from, unsigned int to)
|
|||||||
(e->startTime < (long)chanlist[count]->nextEvent.startTime))
|
(e->startTime < (long)chanlist[count]->nextEvent.startTime))
|
||||||
{
|
{
|
||||||
chanlist[count]->nextEvent = *e;
|
chanlist[count]->nextEvent = *e;
|
||||||
break; //max: FIXME no sense to continue ?
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -454,12 +454,12 @@ int CChannelList::exec()
|
|||||||
displayNext = 0; // always start with current events
|
displayNext = 0; // always start with current events
|
||||||
int nNewChannel = show();
|
int nNewChannel = show();
|
||||||
if ( nNewChannel > -1) {
|
if ( nNewChannel > -1) {
|
||||||
#if 1
|
|
||||||
if(this->historyMode && chanlist[nNewChannel]) {
|
if(this->historyMode && chanlist[nNewChannel]) {
|
||||||
int new_mode = CNeutrinoApp::getInstance()->channelList->getLastChannels().get_mode(chanlist[nNewChannel]->channel_id);
|
int new_mode = CNeutrinoApp::getInstance()->channelList->getLastChannels().get_mode(chanlist[nNewChannel]->channel_id);
|
||||||
if(new_mode >= 0)
|
if(new_mode >= 0)
|
||||||
CNeutrinoApp::getInstance()->SetChannelMode(new_mode);
|
CNeutrinoApp::getInstance()->SetChannelMode(new_mode);
|
||||||
}
|
}
|
||||||
|
#if 1
|
||||||
CNeutrinoApp::getInstance()->channelList->zapTo(getKey(nNewChannel)-1);
|
CNeutrinoApp::getInstance()->channelList->zapTo(getKey(nNewChannel)-1);
|
||||||
#else
|
#else
|
||||||
CNeutrinoApp::getInstance()->channelList->NewZap(chanlist[nNewChannel]->channel_id);
|
CNeutrinoApp::getInstance()->channelList->NewZap(chanlist[nNewChannel]->channel_id);
|
||||||
|
Reference in New Issue
Block a user