diff options
Diffstat (limited to 'epgsearchtools.c')
-rw-r--r-- | epgsearchtools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epgsearchtools.c b/epgsearchtools.c index 8ae1493..b03c765 100644 --- a/epgsearchtools.c +++ b/epgsearchtools.c @@ -800,7 +800,7 @@ void PrepareTimerFile(const cEvent* event, cTimer* timer) } } -bool EventsMatch(const cEvent* event1, const cEvent* event2, bool compareTitle, bool compareSubtitle, bool compareSummary, unsigned long catvaluesAvoidRepeat) +bool EventsMatch(const cEvent* event1, const cEvent* event2, bool compareTitle, int compareSubtitle, bool compareSummary, unsigned long catvaluesAvoidRepeat) { if (!event1 || !event2) return false; if (event1 == event2) return true; @@ -831,7 +831,7 @@ bool EventsMatch(const cEvent* event1, const cEvent* event2, bool compareTitle, bool match = false; if ((!compareTitle || Title1 == Title2) && - (!compareSubtitle || (Subtitle1 == Subtitle2 && Subtitle1!=""))) + (!compareSubtitle || (Subtitle1 == Subtitle2 && (compareSubtitle==1 || Subtitle1!="")))) { const char* Descr1 = event1->Description(); const char* Descr2 = event2->Description(); |