diff options
Diffstat (limited to 'channeljump.c')
-rw-r--r-- | channeljump.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/channeljump.c b/channeljump.c index 58fa77f..8793217 100644 --- a/channeljump.c +++ b/channeljump.c @@ -11,7 +11,12 @@ cChannelJump::cChannelJump(cChannelGroups *channelGroups) { pixmapText = NULL;
channel = 0;
if (!tvguideConfig.hideLastGroup) {
+#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
+ LOCK_CHANNELS_READ;
+ maxChannels = Channels->MaxNumber();
+#else
maxChannels = Channels.MaxNumber();
+#endif
} else {
maxChannels = channelGroups->GetLastValidChannel();
}
|