diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-02-11 11:27:34 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-02-11 11:27:34 +0100 |
commit | d2ef44f8f59e41e59777ba0cf12f8f343aaf1428 (patch) | |
tree | dfd52ccaafa8668345f7dda944ff428b04548b64 /recording.c | |
parent | d8ba7158bc4dbc93e487acc8d35304f0f07e83a4 (diff) | |
download | vdr-d2ef44f8f59e41e59777ba0cf12f8f343aaf1428.tar.gz vdr-d2ef44f8f59e41e59777ba0cf12f8f343aaf1428.tar.bz2 |
Fixed moving editing marks, so that they don't get overwritten with old values through an update of the marks file
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/recording.c b/recording.c index 57248a07..0849fe12 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 2.86 2013/02/08 09:02:07 kls Exp $ + * $Id: recording.c 2.87 2013/02/11 11:18:22 kls Exp $ */ #include "recording.h" @@ -1506,6 +1506,15 @@ bool cMarks::Update(void) return false; } +bool cMarks::Save(void) +{ + if (cConfig<cMark>::Save()) { + lastFileTime = LastModifiedTime(fileName); + return true; + } + return false; +} + void cMarks::Align(void) { cIndexFile IndexFile(recordingFileName, false, isPesRecording); |