diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-03 09:42:12 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-03 09:42:12 +0200 |
commit | a12a504fad29ce7b9d4bfa7a81aafad07d92fde0 (patch) | |
tree | 6114c5dac4b95cf0117de9f4e58b197bd7660935 /menu.c | |
parent | dc6666d53c1873f01376bdd67fa3e3bc324bb349 (diff) | |
download | vdr-a12a504fad29ce7b9d4bfa7a81aafad07d92fde0.tar.gz vdr-a12a504fad29ce7b9d4bfa7a81aafad07d92fde0.tar.bz2 |
Fixed handling the display of the '*' indicator in the "What's on now/next?" 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.439 2006/05/28 15:05:42 kls Exp $ + * $Id: menu.c 1.440 2006/06/03 09:34:49 kls Exp $ */ #include "menu.h" @@ -1048,7 +1048,7 @@ bool cMenuScheduleItem::Update(bool Force) char *buffer = NULL; char t = TimerMatchChars[timerMatch]; char v = event->Vps() && (event->Vps() - event->StartTime()) ? 'V' : ' '; - char r = event->IsRunning() ? '*' : ' '; + char r = event->SeenWithin(30) && event->IsRunning() ? '*' : ' '; if (channel && withDate) asprintf(&buffer, "%d\t%.*s\t%.*s\t%s\t%c%c%c\t%s", channel->Number(), 6, channel->ShortName(true), 6, *event->GetDateString(), *event->GetTimeString(), t, v, r, event->Title()); else if (channel) |