summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-05-25 14:38:04 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-05-25 14:38:04 +0200
commitae37eae8e368823a0b6ca462e31ea70b14135b63 (patch)
tree0ab5aeb7b1088a5306db0932c6f25d4d1fda4444
parent6496d879e5e5de91507a807fbb136d15e3952e1c (diff)
downloadvdr-ae37eae8e368823a0b6ca462e31ea70b14135b63.tar.gz
vdr-ae37eae8e368823a0b6ca462e31ea70b14135b63.tar.bz2
Now setting a timer's cached start time to 0 after a call to Skip()
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--timers.c3
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 52d24ee0..c657573f 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1432,6 +1432,7 @@ Udo Richter <udo_richter@gmx.de>
quoting
for fixing handling the "Power" key in case a timer is about to start recording
for fixing calculating the start time of repeated timers with "first day"
+ for setting a timer's cached start time to 0 after a call to Skip()
Sven Kreiensen <svenk@kammer.uni-hannover.de>
for his help in keeping 'channels.conf.terr' up to date
diff --git a/HISTORY b/HISTORY
index 00a7437c..e30717e6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4729,3 +4729,5 @@ Video Disk Recorder Revision History
to Tobias Grimm).
- Fixed calculating the start time of repeated timers with "first day" (thanks to
Udo Richter).
+- Now setting a timer's cached start time to 0 after a call to Skip() (thanks to
+ Udo Richter).
diff --git a/timers.c b/timers.c
index 0989dad1..15fbdd8e 100644
--- a/timers.c
+++ b/timers.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.c 1.60 2006/05/25 12:32:11 kls Exp $
+ * $Id: timers.c 1.61 2006/05/25 14:36:37 kls Exp $
*/
#include "timers.h"
@@ -560,6 +560,7 @@ bool cTimer::HasFlags(uint Flags) const
void cTimer::Skip(void)
{
day = IncDay(SetTime(StartTime(), 0), 1);
+ startTime = 0;
SetEvent(NULL);
}