diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-23 21:44:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-23 21:44:07 +0100 |
| commit | e862ba83fbcc18510c40bbf9cddf9c471003a433 (patch) | |
| tree | d9869d41145ee7c7270ee83030120b9d249ec05c /src | |
| parent | 550c5d0b2b04cbf834625d1acf8d2e36600fe8db (diff) | |
Fix Playlist::move_later.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/playlist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 64fdadad1..264d9ab4a 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -395,7 +395,7 @@ Playlist::move_later (shared_ptr<Content> c) } (*next)->set_position (c->position ()); - c->set_position (c->position() + c->length_after_trim ()); + c->set_position (c->position() + (*next)->length_after_trim ()); sort (_content.begin(), _content.end(), ContentSorter ()); } |
