summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-03-02 10:43:26 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-03-02 10:43:26 +0100
commitc8808a854b58a6370baba41a8a0de97f1d4f73fd (patch)
tree4e89f2fbf16e43374ae38db6986b852a7bc46d02 /menu.c
parent28bc34b245ffdf0c205f0c5f2624e5c7d94d3c54 (diff)
downloadvdr-c8808a854b58a6370baba41a8a0de97f1d4f73fd.tar.gz
vdr-c8808a854b58a6370baba41a8a0de97f1d4f73fd.tar.bz2
Added a Query parameter to cDevice::GetDevice(), so that devices can be queried without side effects when zapping
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 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;
}
}