revert commit f4ae5e17ce00575de61daba517f37a4bb9252836

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6d56cc0696
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-06 (Sat, 06 Apr 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2013-04-06 22:13:47 +02:00
committed by [CST] Focus
parent 93ec89f184
commit 6f534c2fd6

View File

@@ -754,21 +754,11 @@ int CChannelList::show()
if(bouquetList->Bouquets[nNext]->channelList->isEmpty() ) { if(bouquetList->Bouquets[nNext]->channelList->isEmpty() ) {
found = false; found = false;
nNext = (nNext + b_size + dir) % b_size; nNext = (nNext + b_size + dir) % b_size;
if(msg == (neutrino_msg_t)g_settings.key_bouquet_down){ for (int i = nNext; i < b_size; i++) {
for (int i = nNext; i > 0; i--) { if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) {
if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) { found = true;
found = true; nNext = i;
nNext = i; break;
break;
}
}
}else{
for (int i = nNext; i < b_size; i++) {
if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) {
found = true;
nNext = i;
break;
}
} }
} }
} }