summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY4
-rw-r--r--recording.c4
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++;