mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a bug in the 'First day' timer parameter for timers that record over midnight
This commit is contained in:
parent
72962ccdd7
commit
767133a18e
2
HISTORY
2
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.
|
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
|
- Fixed a bug in switching back the replay mode display in time shift mode
|
||||||
(thanks to Achim Lange for reporting this one).
|
(thanks to Achim Lange for reporting this one).
|
||||||
|
- Fixed a bug in the 'First day' timer parameter for timers that record over
|
||||||
|
midnight.
|
||||||
|
4
config.c
4
config.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "config.h"
|
||||||
@ -602,7 +602,7 @@ bool cTimer::Matches(time_t t)
|
|||||||
if ((!firstday || a >= firstday) && t <= b) {
|
if ((!firstday || a >= firstday) && t <= b) {
|
||||||
startTime = a;
|
startTime = a;
|
||||||
stopTime = b;
|
stopTime = b;
|
||||||
if (t >= firstday)
|
if (t >= firstday + SECSINDAY)
|
||||||
firstday = 0;
|
firstday = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user