diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-02 10:43:26 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-02 10:43:26 +0100 |
commit | c8808a854b58a6370baba41a8a0de97f1d4f73fd (patch) | |
tree | 4e89f2fbf16e43374ae38db6986b852a7bc46d02 /menu.c | |
parent | 28bc34b245ffdf0c205f0c5f2624e5c7d94d3c54 (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |