summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--timers.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index d5c1be2e..63dff883 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4435,3 +4435,4 @@ Video Disk Recorder Revision History
- Fixed deleting recordings that have been removed externally when running out of
disk space (reported by Jan Lenz).
- Fixed handling repeating VPS timers (they stopped recording too early).
+- Timer log messages now show "VPS" if this is a VPS timer.
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);
}