diff options
author | Robin Gareus <robin@gareus.org> | 2016-09-23 18:46:34 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-09-23 18:46:34 +0200 |
commit | f7cb5b1a6b26cd13868c6b379760d545097118d9 (patch) | |
tree | 130676e4e77718dc5ff1ef0cc227b619fa9c71ea /libs/ardour/session_state.cc | |
parent | bad7dcbfa5c8169b99ea3babe785a3ad20cf45c0 (diff) |
fix a typo.
Really a no-op, AudioSource::length() ignores the position, and
for regular regions > 0 is equivalent to != 0
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 0bcd5fbbd7..d1e20030d6 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -3088,7 +3088,7 @@ Session::cleanup_sources (CleanupReport& rep) capture files. */ - if (!i->second->used() && (i->second->length(i->second->timeline_position() > 0))) { + if (!i->second->used() && (i->second->length(i->second->timeline_position()) > 0)) { dead_sources.push_back (i->second); i->second->drop_references (); } |