summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-06-20 10:03:28 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-06-20 10:03:28 +0200
commit545613e0e75d21f573c6942ec14d6b49ad889068 (patch)
tree9fc85055ceece1c65f547db10740d8f8ed8b0e80 /recording.c
parentac4da6e38018d49903988df0f80c0b0ffbe85bb9 (diff)
downloadvdr-545613e0e75d21f573c6942ec14d6b49ad889068.tar.gz
vdr-545613e0e75d21f573c6942ec14d6b49ad889068.tar.bz2
When checking whether a recording has already been made, recording names are now compared case insensitive
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
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++;