diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-21 15:40:35 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-02-21 15:40:35 +0100 |
commit | 1601918327b72a75b5e5e81405c725ae923f7515 (patch) | |
tree | ee6c36ae227b55afa147d19430746015b0766a51 /menu.c | |
parent | 6fef98aa971f8ee51b21d95f9fe3f975a13858f1 (diff) | |
download | vdr-1601918327b72a75b5e5e81405c725ae923f7515.tar.gz vdr-1601918327b72a75b5e5e81405c725ae923f7515.tar.bz2 |
Making sure the present event is displayed in the "Schedule" menu
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.288 2004/02/21 15:26:47 kls Exp $ + * $Id: menu.c 1.289 2004/02/21 15:40:35 kls Exp $ */ #include "menu.h" @@ -1371,7 +1371,7 @@ void cMenuSchedule::PrepareSchedule(cChannel *Channel) time_t now = time(NULL) - Setup.EPGLinger * 60; for (int a = 0; a < num; a++) { const cEvent *Event = Schedule->GetEventNumber(a); - if (Event->StartTime() + Event->Duration() > now) + if (Event->StartTime() + Event->Duration() > now || Event == PresentEvent) Add(new cMenuScheduleItem(Event), Event == PresentEvent); } } |