summaryrefslogtreecommitdiff
path: root/timers.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-03-25 11:41:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-03-25 11:41:24 +0100
commit51be693f627bbbb459f901f75348263356791e3c (patch)
tree2fd03bd5f8c695b428bae023e7ea879e5dea7673 /timers.c
parentc55be788f33444a59fa72d31e3cad2ac202f3a82 (diff)
downloadvdr-51be693f627bbbb459f901f75348263356791e3c.tar.gz
vdr-51be693f627bbbb459f901f75348263356791e3c.tar.bz2
Timer log messages now show "VPS" if this is a VPS timer
Diffstat (limited to 'timers.c')
-rw-r--r--timers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/timers.c b/timers.c
index 7cb4b013..93f52f35 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.52 2006/03/25 11:39:50 kls Exp $
+ * $Id: timers.c 1.53 2006/03/25 11:41:24 kls Exp $
*/
#include "timers.h"
@@ -120,7 +120,7 @@ cString cTimer::ToText(bool UseChannelID)
cString cTimer::ToDescr(void) const
{
char *buffer;
- asprintf(&buffer, "%d (%d %04d-%04d '%s')", Index() + 1, Channel()->Number(), start, stop, file);
+ asprintf(&buffer, "%d (%d %04d-%04d %s'%s')", Index() + 1, Channel()->Number(), start, stop, HasFlags(tfVps) ? "VPS " : "", file);
return cString(buffer, true);
}