Fix erroneous overlap of adjacent content.
authorCarl Hetherington <cth@carlh.net>
Wed, 30 Oct 2013 09:33:07 +0000 (09:33 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 30 Oct 2013 09:33:07 +0000 (09:33 +0000)
src/lib/content.h

index c066c61e036a047813ecde76a71c2a9d1c9552b6..626e270bdfedd07e5d4b3897a5cf81873cc4823e 100644 (file)
@@ -103,7 +103,7 @@ public:
        }
        
        Time end () const {
-               return position() + length_after_trim();
+               return position() + length_after_trim() - 1;
        }
 
        Time length_after_trim () const;