From ee338d72e9557c4f36455f0f47f55bf9d9d09ef0 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sat, 6 Apr 2013 22:13:47 +0200 Subject: [PATCH] revert commit c4b67751af11e3b3cbe2eacbef0a1610c99c88ea Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e0facfa2e0d4244af207c2b9dde9ba0264efdc35 Author: Jacek Jendrzej Date: 2013-04-06 (Sat, 06 Apr 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 4b5c46624..1137fa7b3 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -749,21 +749,11 @@ int CChannelList::show() if(bouquetList->Bouquets[nNext]->channelList->isEmpty() ) { found = false; nNext = (nNext + b_size + dir) % b_size; - if(msg == (neutrino_msg_t)g_settings.key_bouquet_down){ - for (int i = nNext; i > 0; i--) { - if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) { - found = true; - nNext = i; - break; - } - } - }else{ - for (int i = nNext; i < b_size; i++) { - if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) { - found = true; - nNext = i; - break; - } + for (int i = nNext; i < b_size; i++) { + if( !bouquetList->Bouquets[i]->channelList->isEmpty() ) { + found = true; + nNext = i; + break; } } }