summaryrefslogtreecommitdiff
path: root/src/subtitle.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-12 17:20:54 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-12 17:20:54 +0000
commitfd1d21f713e9b0abd8afebcbab36d70aac9b6cce (patch)
treec6c8a1907a64550fb2e6b6d7f4757c0a4d85fb17 /src/subtitle.cc
parent94399f35aea4e37c699918f06eddfa931e4aaefc (diff)
Un-compiling work-in-progress.
Diffstat (limited to 'src/subtitle.cc')
-rw-r--r--src/subtitle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle.cc b/src/subtitle.cc
index d828628..ffa24ad 100644
--- a/src/subtitle.cc
+++ b/src/subtitle.cc
@@ -33,7 +33,7 @@ Subtitle::Subtitle (RawSubtitle s)
bool
Subtitle::same_metadata (RawSubtitle s) const
{
- return from == s.from && to == s.to && fade_up == s.fade_up && fade_down == s.fade_down;
+ return from.close_to (s.from) && to.close_to (s.to) && fade_up == s.fade_up && fade_down == s.fade_down;
}
Line::Line (RawSubtitle s)