mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling comments in editing marks
This commit is contained in:
parent
20168755e6
commit
c23a93f302
1
HISTORY
1
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
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user