summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:43:55 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-22 13:43:55 +0100
commit5f0a84d1bf891cb5f09757c52557e012a9dd6ea2 (patch)
tree9d73a6984d59782724e42d0707b7f557e749feae /menu.c
parent8e616636526b9d7f7530d96dcb69efa1d9e011d2 (diff)
downloadvdr-5f0a84d1bf891cb5f09757c52557e012a9dd6ea2.tar.gz
vdr-5f0a84d1bf891cb5f09757c52557e012a9dd6ea2.tar.bz2
Checking group sep
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/menu.c b/menu.c
index a2fb6e75..8d30644e 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.290 2004/02/22 13:32:07 kls Exp $
+ * $Id: menu.c 1.291 2004/02/22 13:43:55 kls Exp $
*/
#include "menu.h"
@@ -1238,11 +1238,13 @@ cMenuWhatsOn::cMenuWhatsOn(const cSchedules *Schedules, bool Now, int CurrentCha
:cOsdMenu(Now ? tr("What's on now?") : tr("What's on next?"), CHNUMWIDTH, 7, 6)
{
for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) {
- const cSchedule *Schedule = Schedules->GetSchedule(Channel->GetChannelID());
- if (Schedule) {
- const cEvent *Event = Now ? Schedule->GetPresentEvent() : Schedule->GetFollowingEvent();
- if (Event)
- Add(new cMenuWhatsOnItem(Event, Channel), Channel->Number() == CurrentChannelNr);
+ if (!Channel->GroupSep()) {
+ const cSchedule *Schedule = Schedules->GetSchedule(Channel->GetChannelID());
+ if (Schedule) {
+ const cEvent *Event = Now ? Schedule->GetPresentEvent() : Schedule->GetFollowingEvent();
+ if (Event)
+ Add(new cMenuWhatsOnItem(Event, Channel), Channel->Number() == CurrentChannelNr);
+ }
}
}
currentChannel = CurrentChannelNr;