mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
gui/channellist.cpp: style, remove space before ()
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))
|
||||
{
|
||||
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
|
||||
int nNewChannel = show();
|
||||
if ( nNewChannel > -1) {
|
||||
#if 1
|
||||
if(this->historyMode && chanlist[nNewChannel]) {
|
||||
int new_mode = CNeutrinoApp::getInstance()->channelList->getLastChannels().get_mode(chanlist[nNewChannel]->channel_id);
|
||||
if(new_mode >= 0)
|
||||
CNeutrinoApp::getInstance()->SetChannelMode(new_mode);
|
||||
}
|
||||
#if 1
|
||||
CNeutrinoApp::getInstance()->channelList->zapTo(getKey(nNewChannel)-1);
|
||||
#else
|
||||
CNeutrinoApp::getInstance()->channelList->NewZap(chanlist[nNewChannel]->channel_id);
|
||||
|
Reference in New Issue
Block a user