From c8808a854b58a6370baba41a8a0de97f1d4f73fd Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 2 Mar 2012 10:43:26 +0100 Subject: Added a Query parameter to cDevice::GetDevice(), so that devices can be queried without side effects when zapping --- menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 053e4e74..7866bc3d 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 2.38 2012/02/25 13:50:49 kls Exp $ + * $Id: menu.c 2.39 2012/03/02 10:33:17 kls Exp $ */ #include "menu.h" @@ -3653,7 +3653,7 @@ cChannel *cDisplayChannel::NextAvailableChannel(cChannel *Channel, int Direction Channel = Direction > 0 ? Channels.Next(Channel) : Channels.Prev(Channel); if (!Channel && Setup.ChannelsWrap) Channel = Direction > 0 ? Channels.First() : Channels.Last(); - if (Channel && !Channel->GroupSep() && cDevice::GetDevice(Channel, LIVEPRIORITY, true)) + if (Channel && !Channel->GroupSep() && cDevice::GetDevice(Channel, LIVEPRIORITY, true, true)) return Channel; } } -- cgit v1.2.3