13
0

fix nasty off by one error that put the end of an end-trimmed region one sample beyond where it should be. this would lead to the creation of 1 sample xfades where there should be none, if another region was aligned to the same point that the region had been nomimally trimmed to

git-svn-id: svn://localhost/ardour2/branches/3.0@10541 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-11 15:56:31 +00:00
parent 0cff0eee9f
commit c85bdd4631

View File

@ -842,7 +842,7 @@ Region::modify_end (framepos_t new_endpoint, bool reset_fade)
}
if (new_endpoint > _position) {
trim_to_internal (_position, new_endpoint - _position +1);
trim_to_internal (_position, new_endpoint - _position);
if (reset_fade) {
_left_of_split = true;
}