gui/infoviewer.cpp: commit bouquetList checks, it never should be NULL

This commit is contained in:
[CST] Focus
2012-04-05 20:32:09 +04:00
parent 0d539053d8
commit ea9c2fc136

View File

@@ -973,7 +973,7 @@ void CInfoViewer::loop(bool show_dot)
fader.Stop();
if (virtual_zap_mode) {
/* if bouquet cycle set, do virtual over current bouquet */
if (/*g_settings.zap_cycle && */ (bouquetList != NULL) && !(bouquetList->Bouquets.empty()))
if (/*g_settings.zap_cycle && */ /* (bouquetList != NULL) && */ !(bouquetList->Bouquets.empty()))
bouquetList->Bouquets[bouquetList->getActiveBouquetNumber()]->channelList->virtual_zap_mode(msg == CRCInput::RC_right);
else
CNeutrinoApp::getInstance()->channelList->virtual_zap_mode(msg == CRCInput::RC_right);