summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-03 13:27:40 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-03 13:27:40 +0100
commit881c251bea7db28273d38547447a7a22eaa0519b (patch)
treeb3de9ec786f0fb104c2218dc1f5c155186c9ffbb /menu.c
parentdd7621f2596b74740a06841467977fe802cb165e (diff)
downloadvdr-881c251bea7db28273d38547447a7a22eaa0519b.tar.gz
vdr-881c251bea7db28273d38547447a7a22eaa0519b.tar.bz2
Fixed channel up/down switching on single card systems
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 4aa53977..acfece15 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.407 2006/01/29 14:04:37 kls Exp $
+ * $Id: menu.c 1.408 2006/02/03 13:24:53 kls Exp $
*/
#include "menu.h"
@@ -3083,7 +3083,7 @@ cChannel *cDisplayChannel::NextAvailableChannel(cChannel *Channel, int Direction
if (Direction) {
while (Channel) {
Channel = Direction > 0 ? Channels.Next(Channel) : Channels.Prev(Channel);
- if (Channel && !Channel->GroupSep() && cDevice::GetDevice(Channel, 0))
+ if (Channel && !Channel->GroupSep() && (cDevice::PrimaryDevice()->ProvidesChannel(Channel, Setup.PrimaryLimit) || cDevice::GetDevice(Channel, 0)))
return Channel;
}
}