From ea9c2fc1365312e8b41f4f601b55f68fe5abd034 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 5 Apr 2012 20:32:09 +0400 Subject: [PATCH] gui/infoviewer.cpp: commit bouquetList checks, it never should be NULL --- src/gui/infoviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 9ef2a886f..febf7e308 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -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);