diff options
author | Trent Nelson <trent.a.b.nelson@gmail.com> | 2014-02-18 08:49:41 -0700 |
---|---|---|
committer | Trent Nelson <trent.a.b.nelson@gmail.com> | 2014-02-18 08:49:41 -0700 |
commit | 6204232bd6c41b970cf333f32e38eca54211a90d (patch) | |
tree | 7601cec41698b38d6034ab8429ae42d2e02e651c | |
parent | 87bf43f658159464271cb96dc266c5bac0e5de09 (diff) | |
parent | 0ca89425f95fba3c916fa3f90e277d4bcaf52f83 (diff) |
Merge pull request #4208 from xhaggi/fix-pvr-idle-check
[pvr] fix: wrong condition in PVRManager::IsIdle (Ticket #14630)
-rw-r--r-- | xbmc/pvr/PVRManager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xbmc/pvr/PVRManager.cpp b/xbmc/pvr/PVRManager.cpp index cc98c4359a..9a8f7c5e48 100644 --- a/xbmc/pvr/PVRManager.cpp +++ b/xbmc/pvr/PVRManager.cpp @@ -1323,10 +1323,8 @@ bool CPVRManager::IsIdle(void) const const CDateTime next = m_timers->GetNextEventTime(); const CDateTimeSpan delta = next - now; - if (delta < idle) - { + if (delta <= idle) return false; - } } return true; |