summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-04-17 09:44:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-04-17 09:44:01 +0200
commitfa8c7c35b5869497df02253cd7b6fc6da566f423 (patch)
tree75fe4880677b3c3cb0ab9bb6b2b28208bbca80f0 /menu.c
parent3d13eb002fbfe7b303f0f873e59623cb448dff5f (diff)
downloadvdr-fa8c7c35b5869497df02253cd7b6fc6da566f423.tar.gz
vdr-fa8c7c35b5869497df02253cd7b6fc6da566f423.tar.bz2
Fixed the timer indicator in the Schedule menu in case an event is already over, but the timer is still recording
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 8685fb1c..2beae50c 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 5.3 2021/01/14 10:29:05 kls Exp $
+ * $Id: menu.c 5.4 2021/04/17 09:44:01 kls Exp $
*/
#include "menu.h"
@@ -1602,7 +1602,7 @@ bool cMenuScheduleItem::Update(const cTimers *Timers, bool Force)
eTimerMatch OldTimerMatch = timerMatch;
bool OldTimerActive = timerActive;
const cTimer *Timer = Timers->GetMatch(event, &timerMatch);
- if (event->EndTime() < time(NULL) && !event->IsRunning())
+ if (event->EndTime() < time(NULL) && !event->IsRunning() && (!Timer || !Timer->Recording()))
timerMatch = tmNone;
timerActive = Timer && Timer->HasFlags(tfActive);
if (Force || timerMatch != OldTimerMatch || timerActive != OldTimerActive) {