From 545613e0e75d21f573c6942ec14d6b49ad889068 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 20 Jun 2021 10:03:28 +0200 Subject: When checking whether a recording has already been made, recording names are now compared case insensitive --- HISTORY | 4 +++- recording.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/HISTORY b/HISTORY index fefc27af..b85e1a80 100644 --- a/HISTORY +++ b/HISTORY @@ -9720,7 +9720,7 @@ Video Disk Recorder Revision History - Removed unused declaration of cDvbTuner::SetFrontendType() (thanks to Helmut Binder). - Fixed handling incomplete multi-packet CAT (thanks to Helmut Binder). -2021-06-19: +2021-06-20: - Fixed restarting PMT pids after starting a recording on the currently viewed channel (with help from Helmut Binder). @@ -9729,3 +9729,5 @@ Video Disk Recorder Revision History - Fixed a possible access to characters after the terminating zero of strings in cDoneRecordings::Contains(), in case there are fuzzy characters at the end of a string. +- When checking whether a recording has already been made, recording names are now + compared case insensitive. diff --git a/recording.c b/recording.c index f25cc4f1..24cc175c 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.10 2021/06/19 15:34:38 kls Exp $ + * $Id: recording.c 5.11 2021/06/20 10:03:28 kls Exp $ */ #include "recording.h" @@ -3152,7 +3152,7 @@ bool cDoneRecordings::Contains(const char *Title) const t = SkipFuzzyChars(t); if (!*s || !*t) break; - if (*s != *t) + if (toupper(uchar(*s)) != toupper(uchar(*t))) break; s++; t++; -- cgit v1.2.3