From 7775698bacf8053355be9c86fbab0eb5e244aa1a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 25 May 2021 20:09:29 +0200 Subject: The error counter of a recording is now copied as is when editing a recording --- recording.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'recording.c') diff --git a/recording.c b/recording.c index 574e0bdf..2cf1c888 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 5.8 2021/05/23 15:03:17 kls Exp $ + * $Id: recording.c 5.9 2021/05/25 20:09:29 kls Exp $ */ #include "recording.h" @@ -1206,10 +1206,6 @@ bool cRecording::WriteInfo(const char *OtherFileName) else info->SetErrors(0); } - else { - // This is an edited recording, so let's clear the error counter: - info->SetErrors(0); - } cSafeFile f(InfoFileName); if (f.Open()) { info->Write(f); -- cgit v1.2.3