From b948c1c2fc2809d35c01b3a48b9c5bb0ccc64840 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 20 Apr 2012 20:10:08 +0400 Subject: [PATCH] neutrino.cpp: fix crash, if old bouquet not present after edit --- src/neutrino.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 582f4d9e1..6bf5ff7e4 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2260,6 +2260,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data) StopSubtitles(); +_show: int nNewChannel = -1; int old_num = 0; int old_b = bouquetList->getActiveBouquetNumber(); @@ -2270,7 +2271,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data) if(bouquetList->Bouquets.size()) { old_num = bouquetList->Bouquets[old_b]->channelList->getSelected(); } -_show: +//_show: if(msg == CRCInput::RC_ok) { if(bouquetList->Bouquets.size() && bouquetList->Bouquets[old_b]->channelList->getSize() > 0)