summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-10-24 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-10-24 18:00:00 +0200
commit646369955d2e954edf8b5c78f9ba4dc7f501f292 (patch)
treec5cdb2ffe42d76022398a447838df6ccdb0d99e3 /recording.c
parente2ac232795141f367d271b87585597493551a560 (diff)
downloadvdr-patch-lnbsharing-646369955d2e954edf8b5c78f9ba4dc7f501f292.tar.gz
vdr-patch-lnbsharing-646369955d2e954edf8b5c78f9ba4dc7f501f292.tar.bz2
Version 1.2.6pre3vdr-1.2.6pre3
- Improved cDvbDevice::StillPicture() (thanks to Oliver Endriss). - Continuing learning remote control keys in case one rc fails (thanks to Oliver Endriss). - Fixed handling comments in editing marks.
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/recording.c b/recording.c
index b6e47c5..13aa417 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.84 2003/10/17 14:36:58 kls Exp $
+ * $Id: recording.c 1.85 2003/10/24 14:47:14 kls Exp $
*/
#include "recording.h"
@@ -681,10 +681,8 @@ bool cMark::Parse(const char *s)
const char *p = strchr(s, ' ');
if (p) {
p = skipspace(p);
- if (*p) {
+ if (*p)
comment = strdup(p);
- comment[strlen(comment) - 1] = 0; // strips trailing newline
- }
}
return true;
}