summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-03-16 11:16:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-03-16 11:16:28 +0100
commit6b678bcbdaa71cb5fb9c5563e62b01e62beed1b4 (patch)
tree2beb0a5a9e303ce9571b3fb121a9dd7244efddc7 /menu.c
parente68d8ab41c1483926caf375bd75f3405df614d1d (diff)
downloadvdr-6b678bcbdaa71cb5fb9c5563e62b01e62beed1b4.tar.gz
vdr-6b678bcbdaa71cb5fb9c5563e62b01e62beed1b4.tar.bz2
Resetting a timer's 'pending' flag when it has ended
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index b7a21af7..b7eab456 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.481 2008/03/14 13:09:19 kls Exp $
+ * $Id: menu.c 1.482 2008/03/16 11:15:28 kls Exp $
*/
#include "menu.h"
@@ -3879,8 +3879,11 @@ void cRecordControl::Stop(void)
bool cRecordControl::Process(time_t t)
{
- if (!recorder || !recorder->IsAttached() || !timer || !timer->Matches(t))
+ if (!recorder || !recorder->IsAttached() || !timer || !timer->Matches(t)) {
+ if (timer)
+ timer->SetPending(false);
return false;
+ }
AssertFreeDiskSpace(timer->Priority());
return true;
}