diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-11 12:41:19 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-11 13:20:23 +0200 |
commit | 700543b394c4e87e3bc372fb00c221c456c2adf2 (patch) | |
tree | 0302ce7047672beca04c56f4f8a07a08f43d6915 /channeljump.c | |
parent | 1df9641621203b9eeb87c269c9e962691398e010 (diff) | |
download | vdr-plugin-tvguide-700543b394c4e87e3bc372fb00c221c456c2adf2.tar.gz vdr-plugin-tvguide-700543b394c4e87e3bc372fb00c221c456c2adf2.tar.bz2 |
GetLastValidChannel
Diffstat (limited to 'channeljump.c')
-rw-r--r-- | channeljump.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/channeljump.c b/channeljump.c index cf54b8c..f8d99d2 100644 --- a/channeljump.c +++ b/channeljump.c @@ -10,16 +10,7 @@ cChannelJump::cChannelJump(cChannelGroups *channelGroups) { this->channelGroups = channelGroups; pixmapText = NULL; channel = 0; - if (!config.hideLastGroup) { -#if VDRVERSNUM >= 20301 - LOCK_CHANNELS_READ; - maxChannels = Channels->MaxNumber(); -#else - maxChannels = Channels.MaxNumber(); -#endif - } else { - maxChannels = channelGroups->GetLastValidChannel(); - } + maxChannels = channelGroups->GetLastValidChannel(); timeout = Setup.ChannelEntryTimeout; startTime = cTimeMs::Now(); SetPixmaps(); |