mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling the tfRecording flag when reading timers
This commit is contained in:
parent
dd155f2aaf
commit
8ab2383e18
@ -883,6 +883,7 @@ Andreas Mair <Andreas.Mair@linogate.com>
|
|||||||
for reporting a short display of the main menu if a plugin displays its own OSD and
|
for reporting a short display of the main menu if a plugin displays its own OSD and
|
||||||
is started through a user defined key macro
|
is started through a user defined key macro
|
||||||
for reporting a problem with extremely long summary fields in timers
|
for reporting a problem with extremely long summary fields in timers
|
||||||
|
for reporting a bug in handling the tfRecording flag when reading timers
|
||||||
|
|
||||||
Olivier Jacques <jacquesolivier@hotmail.com>)
|
Olivier Jacques <jacquesolivier@hotmail.com>)
|
||||||
for translating OSD texts to the French language
|
for translating OSD texts to the French language
|
||||||
|
2
HISTORY
2
HISTORY
@ -4239,3 +4239,5 @@ Video Disk Recorder Revision History
|
|||||||
- Updated the Danish OSD texts (thanks to Mogens Elneff).
|
- Updated the Danish OSD texts (thanks to Mogens Elneff).
|
||||||
- Fixed a missing ',' in the Greek OSD texts (thanks to Arthur Konovalov).
|
- Fixed a missing ',' in the Greek OSD texts (thanks to Arthur Konovalov).
|
||||||
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
|
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
|
||||||
|
- Fixed handling the tfRecording flag when reading timers (bug reported by Andreas
|
||||||
|
Mair).
|
||||||
|
3
timers.c
3
timers.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: timers.c 1.43 2006/01/15 13:31:11 kls Exp $
|
* $Id: timers.c 1.44 2006/01/27 15:35:17 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "timers.h"
|
#include "timers.h"
|
||||||
@ -245,6 +245,7 @@ bool cTimer::Parse(const char *s)
|
|||||||
}
|
}
|
||||||
bool result = false;
|
bool result = false;
|
||||||
if (8 <= sscanf(s, "%u :%a[^:]:%a[^:]:%d :%d :%d :%d :%a[^:\n]:%a[^\n]", &flags, &channelbuffer, &daybuffer, &start, &stop, &priority, &lifetime, &filebuffer, &summary)) {
|
if (8 <= sscanf(s, "%u :%a[^:]:%a[^:]:%d :%d :%d :%d :%a[^:\n]:%a[^\n]", &flags, &channelbuffer, &daybuffer, &start, &stop, &priority, &lifetime, &filebuffer, &summary)) {
|
||||||
|
ClrFlags(tfRecording);
|
||||||
if (summary && !*skipspace(summary)) {
|
if (summary && !*skipspace(summary)) {
|
||||||
free(summary);
|
free(summary);
|
||||||
summary = NULL;
|
summary = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user