summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-31 12:01:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-31 12:01:58 +0200
commit767133a18e97e74f7c1316a7c49e70ac812ab60f (patch)
treefb9e9fc44bbec01dd5a7a81f09ddbbc49d9c563f
parent72962ccdd787d4910f340578a8b3563150f017f3 (diff)
downloadvdr-767133a18e97e74f7c1316a7c49e70ac812ab60f.tar.gz
vdr-767133a18e97e74f7c1316a7c49e70ac812ab60f.tar.bz2
Fixed a bug in the 'First day' timer parameter for timers that record over midnight
-rw-r--r--HISTORY2
-rw-r--r--config.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index f62227e8..ef07a740 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1149,3 +1149,5 @@ Video Disk Recorder Revision History
commands.conf starts with a digit in the range '1'...'9', followed by a blank.
- Fixed a bug in switching back the replay mode display in time shift mode
(thanks to Achim Lange for reporting this one).
+- Fixed a bug in the 'First day' timer parameter for timers that record over
+ midnight.
diff --git a/config.c b/config.c
index 8599fec4..267ee486 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.92 2002/03/18 21:35:07 kls Exp $
+ * $Id: config.c 1.93 2002/03/31 11:57:07 kls Exp $
*/
#include "config.h"
@@ -602,7 +602,7 @@ bool cTimer::Matches(time_t t)
if ((!firstday || a >= firstday) && t <= b) {
startTime = a;
stopTime = b;
- if (t >= firstday)
+ if (t >= firstday + SECSINDAY)
firstday = 0;
break;
}