summaryrefslogtreecommitdiff
path: root/epgsearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearch.cpp')
-rw-r--r--epgsearch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/epgsearch.cpp b/epgsearch.cpp
index 352a3f0..11892de 100644
--- a/epgsearch.cpp
+++ b/epgsearch.cpp
@@ -76,7 +76,7 @@ void SearchTimer::Init()
m_avoidrepeats = false;
m_allowedrepeats = 0;
m_compareTitle = false;
- m_compareSubtitle = false;
+ m_compareSubtitle = 0;
m_compareSummary = false;
m_repeatsWithinDays = 0;
m_blacklistmode = 0;
@@ -129,7 +129,7 @@ SearchTimer::SearchTimer( string const& data )
case 28: m_avoidrepeats = lexical_cast< bool >( *part ); break;
case 29: m_allowedrepeats = lexical_cast< int >( *part ); break;
case 30: m_compareTitle = lexical_cast< bool >( *part ); break;
- case 31: m_compareSubtitle = lexical_cast< bool >( *part ); break;
+ case 31: m_compareSubtitle = lexical_cast< int >( *part ); break;
case 32: m_compareSummary = lexical_cast< bool >( *part ); break;
case 33: m_catvaluesAvoidRepeat = lexical_cast< long >( *part ); break;
case 34: m_repeatsWithinDays = lexical_cast< int >( *part ); break;
@@ -246,7 +246,7 @@ std::string SearchTimer::ToText()
<< (m_avoidrepeats?1:0) << ":"
<< m_allowedrepeats << ":"
<< (m_compareTitle?1:0) << ":"
- << (m_compareSubtitle?1:0) << ":"
+ << m_compareSubtitle << ":"
<< (m_compareSummary?1:0) << ":"
<< m_catvaluesAvoidRepeat << ":"
<< m_repeatsWithinDays << ":"