summaryrefslogtreecommitdiff
path: root/epgsearchtools.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-12-03 19:32:01 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-12-03 19:32:01 +0100
commit64b95a3d0696a830daa398cb375cd434fc9f59ba (patch)
treeab1cc380f3c711c637c4b67e086c0ffc18493bad /epgsearchtools.c
parent53677636e841b9a8e9ef192b34671421ed06cfdb (diff)
downloadvdr-plugin-epgsearch-64b95a3d0696a830daa398cb375cd434fc9f59ba.tar.gz
vdr-plugin-epgsearch-64b95a3d0696a830daa398cb375cd434fc9f59ba.tar.bz2
fixed wrong comparison in previous new feature
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();