From 460e907cb911035c455a22fe203b39b63dc19b82 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 23 Mar 2002 11:37:28 +0100 Subject: Now writing the title of a recording into the 'summary.vdr' file --- recording.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.c') 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); } } -- cgit v1.2.3