summaryrefslogtreecommitdiff
path: root/epgsearchtools.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchtools.c')
-rw-r--r--epgsearchtools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epgsearchtools.c b/epgsearchtools.c
index b03c765..13439a1 100644
--- a/epgsearchtools.c
+++ b/epgsearchtools.c
@@ -831,7 +831,7 @@ bool EventsMatch(const cEvent* event1, const cEvent* event2, bool compareTitle,
bool match = false;
if ((!compareTitle || Title1 == Title2) &&
- (!compareSubtitle || (Subtitle1 == Subtitle2 && (compareSubtitle==1 || Subtitle1!=""))))
+ (!compareSubtitle || (Subtitle1 == Subtitle2 && (compareSubtitle==2 || Subtitle1!=""))))
{
const char* Descr1 = event1->Description();
const char* Descr2 = event2->Description();