mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
gui/channellist.cpp: fix warning
This commit is contained in:
@@ -462,7 +462,7 @@ 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 && nNewChannel < chanlist.size()) {
|
if ( nNewChannel > -1 && nNewChannel < (int) chanlist.size()) {
|
||||||
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)
|
||||||
|
Reference in New Issue
Block a user