diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-04 16:34:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-04 16:34:13 +0100 |
| commit | 1555c48eda3def5f7ece413a47f0c7ff94dd70dd (patch) | |
| tree | b76430372b6807f9d3341a1c70bb64e41472182c /src/lib/dcpomatic_time.cc | |
| parent | 9655db97eae5a6137a45ad809dbf42528dc74408 (diff) | |
Make XML subtitle work at the very minimal level.
Diffstat (limited to 'src/lib/dcpomatic_time.cc')
| -rw-r--r-- | src/lib/dcpomatic_time.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcpomatic_time.cc b/src/lib/dcpomatic_time.cc index fa6271354..812c756ec 100644 --- a/src/lib/dcpomatic_time.cc +++ b/src/lib/dcpomatic_time.cc @@ -59,5 +59,5 @@ ContentTimePeriod::overlaps (ContentTimePeriod const & other) const bool ContentTimePeriod::contains (ContentTime const & other) const { - return (from >= other && to < other); + return (from <= other && other < to); } |
