mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
supplement to e946162499
, THX Gaucho316 for correction
Origin commit data
------------------
Commit: 4a461c1801
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-16 (Thu, 16 May 2013)
This commit is contained in:
@@ -1294,7 +1294,7 @@ int CEventFinderMenu::showMenu(void)
|
|||||||
}
|
}
|
||||||
else if(*m_search_list == CNeutrinoEventList::SEARCH_LIST_BOUQUET)
|
else if(*m_search_list == CNeutrinoEventList::SEARCH_LIST_BOUQUET)
|
||||||
{
|
{
|
||||||
if(bouquetList->Bouquets.size() < *m_search_bouquet_id ){
|
if (*m_search_bouquet_id >= bouquetList->Bouquets.size())
|
||||||
*m_search_bouquet_id = bouquetList->getActiveBouquetNumber();;
|
*m_search_bouquet_id = bouquetList->getActiveBouquetNumber();;
|
||||||
}
|
}
|
||||||
if(!bouquetList->Bouquets.empty())
|
if(!bouquetList->Bouquets.empty())
|
||||||
@@ -1344,7 +1344,7 @@ bool CEventFinderMenu::changeNotify(const neutrino_locale_t OptionName, void *)
|
|||||||
}
|
}
|
||||||
else if (*m_search_list == CNeutrinoEventList::SEARCH_LIST_BOUQUET)
|
else if (*m_search_list == CNeutrinoEventList::SEARCH_LIST_BOUQUET)
|
||||||
{
|
{
|
||||||
if(bouquetList->Bouquets.size() < *m_search_bouquet_id ){
|
if (*m_search_bouquet_id >= bouquetList->Bouquets.size())
|
||||||
*m_search_bouquet_id = bouquetList->getActiveBouquetNumber();
|
*m_search_bouquet_id = bouquetList->getActiveBouquetNumber();
|
||||||
}
|
}
|
||||||
if(!bouquetList->Bouquets.empty()){
|
if(!bouquetList->Bouquets.empty()){
|
||||||
|
Reference in New Issue
Block a user