From 6dbdb639ed4ee6ce5d446bd40ec88920eb8b0ee5 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Fri, 19 Sep 2008 23:57:32 +0200 Subject: changed the maximum number of days for a timer conflict check from 99 to 14 --- conflictcheck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conflictcheck.c') diff --git a/conflictcheck.c b/conflictcheck.c index 2118a7d..2c29b38 100644 --- a/conflictcheck.c +++ b/conflictcheck.c @@ -248,7 +248,7 @@ cList* cConflictCheck::CreateCurrentTimerList() } // collect repeating timers from now until the date of the timer with tMax - time_t maxCheck = time(NULL) + EPGSearchConfig.checkMaxDays * SECSINDAY; + time_t maxCheck = time(NULL) + min(14,EPGSearchConfig.checkMaxDays) * SECSINDAY; tMax = max(tMax, maxCheck); for (ti = Timers.First(); ti; ti = Timers.Next(ti)) { @@ -359,7 +359,7 @@ cList* cConflictCheck::CreateConflictList(cListFirst(); checkTime; checkTime = EvalTimeList->Next(checkTime)) -- cgit v1.2.3