diff --git a/HISTORY b/HISTORY index 8b5e4f10..78fecc42 100644 --- a/HISTORY +++ b/HISTORY @@ -9820,3 +9820,4 @@ Video Disk Recorder Revision History - Fixed a compiler warning. - Fixed generating the index file in the cutter (reported by Christoph Haubrich). +- Fixed a faulty 'Timer still recording' query when canceling an editing job. diff --git a/menu.c b/menu.c index d80a74c5..54e97fd5 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 5.8 2022/11/22 15:53:07 kls Exp $ + * $Id: menu.c 5.9 2022/12/01 13:09:04 kls Exp $ */ #include "menu.h" @@ -3250,7 +3250,7 @@ static bool TimerStillRecording(const char *FileName) int Id; char *RemoteBuf = NULL; cString Remote; - if (2 == sscanf(TimerId, "%d@%m[^ \n]", &Id, &RemoteBuf)) { + if (2 == sscanf(TimerId, "%d@%m[^ \n]", &Id, &RemoteBuf) && Id != 0) { Remote = RemoteBuf; free(RemoteBuf); if (Interface->Confirm(tr("Timer still recording - really delete?"))) {