summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-30 09:33:07 +0000
committerCarl Hetherington <cth@carlh.net>2013-10-30 09:33:07 +0000
commit994ef64ef0cecd69898ab81432e5c5efef7ef97b (patch)
tree3d893c70e282d9c53c1228e55150cff5cab878f6
parent8053593f2ccff66287c43d20a8f28be9919bff75 (diff)
Fix erroneous overlap of adjacent content.
-rw-r--r--src/lib/content.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index c066c61e0..626e270bd 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -103,7 +103,7 @@ public:
}
Time end () const {
- return position() + length_after_trim();
+ return position() + length_after_trim() - 1;
}
Time length_after_trim () const;