summaryrefslogtreecommitdiff
path: root/recdone.c
diff options
context:
space:
mode:
Diffstat (limited to 'recdone.c')
-rw-r--r--recdone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recdone.c b/recdone.c
index 790b212..5cccf6c 100644
--- a/recdone.c
+++ b/recdone.c
@@ -232,7 +232,7 @@ int cRecsDone::GetCountRecordings(const cEvent* event, cSearchExt* search, cRecD
return GetCountRecordings(event, search->compareTitle, search->compareSubtitle, search->compareSummary, search->catvaluesAvoidRepeat, first);
}
-int cRecsDone::GetCountRecordings(const cEvent* event, bool compareTitle, bool compareSubtitle, bool compareSummary, unsigned long catvaluesAvoidRepeat, cRecDone** first)
+int cRecsDone::GetCountRecordings(const cEvent* event, bool compareTitle, int compareSubtitle, bool compareSummary, unsigned long catvaluesAvoidRepeat, cRecDone** first)
{
if (first)
*first = NULL;
@@ -295,7 +295,7 @@ int cRecsDone::GetCountRecordings(const cEvent* event, bool compareTitle, bool c
}
if ((!compareTitle || rTitle == eTitle) &&
- (!compareSubtitle || (rSubtitle == eSubtitle && rSubtitle !="")) &&
+ (!compareSubtitle || (rSubtitle == eSubtitle && (compareSubtitle==1 || rSubtitle !=""))) &&
(!compareSummary || DescriptionMatches(eRawDescr.c_str(), rRawDescr.c_str())))
{
if (catvaluesAvoidRepeat != 0) // check categories