diff options
Diffstat (limited to 'tvguideosd.c')
-rw-r--r-- | tvguideosd.c | 7 |
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(); |