summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-07-29 19:10:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-07-29 19:10:29 +0200
commit5591027638f8541910fccb2db8bc91e84644c5ae (patch)
tree186987059c9a321aa359ff34dfe5ff8c7c9c4ee1 /config.c
parent3adda3b6c77167987965c6334d136e702d6cecc8 (diff)
downloadvdr-5591027638f8541910fccb2db8bc91e84644c5ae.tar.gz
vdr-5591027638f8541910fccb2db8bc91e84644c5ae.tar.bz2
Times in timers.conf are now always printed with 4 digits (leading '0')
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 6b5e0493..8890c694 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.15 2000/07/25 16:21:20 kls Exp $
+ * $Id: config.c 1.16 2000/07/29 19:09:51 kls Exp $
*/
#include "config.h"
@@ -294,7 +294,7 @@ cTimer& cTimer::operator= (const cTimer &Timer)
const char *cTimer::ToText(cTimer *Timer)
{
- asprintf(&buffer, "%d:%d:%s:%d:%d:%d:%d:%s:%s\n", Timer->active, Timer->channel, PrintDay(Timer->day), Timer->start, Timer->stop, Timer->priority, Timer->lifetime, Timer->file, Timer->summary ? Timer->summary : "");
+ asprintf(&buffer, "%d:%d:%s:%04d:%04d:%d:%d:%s:%s\n", Timer->active, Timer->channel, PrintDay(Timer->day), Timer->start, Timer->stop, Timer->priority, Timer->lifetime, Timer->file, Timer->summary ? Timer->summary : "");
return buffer;
}