Guest User

Untitled

a guest
Feb 10th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. diff --git a/mythtv/libs/libmyth/programinfo.cpp b/mythtv/libs/libmyth/programinfo.cpp
  2. index a206761..e96cc49 100644
  3. --- a/mythtv/libs/libmyth/programinfo.cpp
  4. +++ b/mythtv/libs/libmyth/programinfo.cpp
  5. @@ -2280,12 +2280,13 @@ bool ProgramInfo::IsSameProgram(const ProgramInfo& other) const
  6. */
  7. bool ProgramInfo::IsSameProgramAndStartTime(const ProgramInfo& other) const
  8. {
  9. - if (!IsSameProgram(other))
  10. + if (startts != other.startts)
  11. return false;
  12. - if (startts == other.startts)
  13. + if (IsSameChannel(other))
  14. return true;
  15. -
  16. - return false;
  17. + if (!IsSameProgram(other))
  18. + return false;
  19. + return true;
  20. }
  21.  
  22. /**
Advertisement
Add Comment
Please, Sign In to add comment