summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-10-24 15:49:30 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-10-24 15:49:30 +0200
commitc23a93f302733f97c125f67689e04988d396faea (patch)
tree935bcfe770e190279b6487b981df7b5d5fd1a1aa
parent20168755e6b26d533eeda5a236479d6dc8a9b374 (diff)
downloadvdr-c23a93f302733f97c125f67689e04988d396faea.tar.gz
vdr-c23a93f302733f97c125f67689e04988d396faea.tar.bz2
Fixed handling comments in editing marks
-rw-r--r--HISTORY1
-rw-r--r--recording.c6
2 files changed, 3 insertions, 4 deletions
diff --git a/HISTORY b/HISTORY
index 562c324d..632be97d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2443,6 +2443,7 @@ Video Disk Recorder Revision History
- 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.
2003-10-24: Version 1.3.0
diff --git a/recording.c b/recording.c
index b6e47c55..77b236f4 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 15:49:00 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;
}