const fix; header guard.
[dcpomatic.git] / src / lib / dcpomatic_time.cc
index 6f8f5efa2d4eb01b8b7249447c271ac79dc33bc4..28f76607499134933815f888815265fdbceae9c4 100644 (file)
@@ -92,7 +92,7 @@ operator<< (ostream& s, DCPTime t)
 bool
 ContentTimePeriod::overlaps (ContentTimePeriod const & other) const
 {
-       return (from < other.to && to >= other.from);
+       return (from < other.to && to > other.from);
 }
 
 bool