summaryrefslogtreecommitdiff
path: root/tvguideosd.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 14:14:51 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-11 14:19:44 +0200
commit107f3f945fc72e75fa2979a6011dd8507fa8ac77 (patch)
treeb844fc7e3f5ff2248eaf7dc6742d9e5c2ef16ef0 /tvguideosd.c
parent45a2d6bee0d1146e525777bb0dd06904448030ed (diff)
downloadvdr-plugin-tvguide-107f3f945fc72e75fa2979a6011dd8507fa8ac77.tar.gz
vdr-plugin-tvguide-107f3f945fc72e75fa2979a6011dd8507fa8ac77.tar.bz2
lastValidChannel
Diffstat (limited to 'tvguideosd.c')
-rw-r--r--tvguideosd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tvguideosd.c b/tvguideosd.c
index ee239de..a3f56d4 100644
--- a/tvguideosd.c
+++ b/tvguideosd.c
@@ -672,9 +672,14 @@ void cTvGuideOsd::TimeJump(int mode) {
osdManager.flush();
}
+int cTvGuideOsd::GetLastValidChannel(void) {
+ return channelGroups->GetLastValidChannel();
+}
+
void cTvGuideOsd::ChannelJump(int num) {
if (!channelJumper) {
- channelJumper = new cChannelJump(channelGroups);
+ int lastValidChannel = GetLastValidChannel();
+ channelJumper = new cChannelJump(channelGroups, lastValidChannel);
}
channelJumper->Set(num);
channelJumper->DrawText();