summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-10 10:39:45 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-10 10:39:45 +0200
commitbc0de5dbc56d5b4f373f09e92cf07ec773ccab4e (patch)
treef457a0f3a37f9f009ac5f242745b26d48c4a0935 /recording.c
parent4e3325b7f7e30d1013798d74b8e7e0b8471813b1 (diff)
downloadvdr-bc0de5dbc56d5b4f373f09e92cf07ec773ccab4e.tar.gz
vdr-bc0de5dbc56d5b4f373f09e92cf07ec773ccab4e.tar.bz2
Implemented full handling of remote timers
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c
index 3f5cec7c..a847c7d1 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 4.3 2015/08/29 14:42:53 kls Exp $
+ * $Id: recording.c 4.4 2015/09/09 10:21:58 kls Exp $
*/
#include "recording.h"
@@ -2018,7 +2018,7 @@ cMark::~cMark()
cString cMark::ToText(void)
{
- return cString::sprintf("%s%s%s\n", *IndexToHMSF(position, true, framesPerSecond), Comment() ? " " : "", Comment() ? Comment() : "");
+ return cString::sprintf("%s%s%s", *IndexToHMSF(position, true, framesPerSecond), Comment() ? " " : "", Comment() ? Comment() : "");
}
bool cMark::Parse(const char *s)
@@ -2037,7 +2037,7 @@ bool cMark::Parse(const char *s)
bool cMark::Save(FILE *f)
{
- return fprintf(f, "%s", *ToText()) > 0;
+ return fprintf(f, "%s\n", *ToText()) > 0;
}
// --- cMarks ----------------------------------------------------------------