fix a typo.
Really a no-op, AudioSource::length() ignores the position, and for regular regions > 0 is equivalent to != 0
This commit is contained in:
parent
bad7dcbfa5
commit
f7cb5b1a6b
@ -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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user