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))
|
(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