summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-23 11:37:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-23 11:37:28 +0100
commit460e907cb911035c455a22fe203b39b63dc19b82 (patch)
tree1cefb73713d807f5ab0d097709deff7fa5a4551e /recording.c
parent508d8a92bde560170cf52a3693db12aa220ebe6d (diff)
downloadvdr-460e907cb911035c455a22fe203b39b63dc19b82.tar.gz
vdr-460e907cb911035c455a22fe203b39b63dc19b82.tar.bz2
Now writing the title of a recording into the 'summary.vdr' file
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index 56ea0565..0121d6ce 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 1.57 2002/03/16 12:17:44 kls Exp $
+ * $Id: recording.c 1.58 2002/03/23 11:32:33 kls Exp $
*/
#include "recording.h"
@@ -324,7 +324,7 @@ cRecording::cRecording(cTimer *Timer, const char *Title, const char *Subtitle, c
if (isempty(Summary))
Summary = "";
if (*Subtitle || *Summary)
- asprintf(&summary, "%s%s%s", Subtitle, (*Subtitle && *Summary) ? "\n\n" : "", Summary);
+ asprintf(&summary, "%s\n\n%s%s%s", Title, Subtitle, (*Subtitle && *Summary) ? "\n\n" : "", Summary);
}
}