1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 20:22:13 +01:00

Fix possible assertion violations for cut, paste, trim

This commit is contained in:
Paul Licameli
2017-04-29 15:39:41 -04:00
parent 615a5058a7
commit b2b9708b29
2 changed files with 3 additions and 3 deletions

View File

@@ -495,7 +495,7 @@ bool NoteTrack::Trim(double t0, double t1)
void NoteTrack::Clear(double t0, double t1)
{
if (t1 <= t0)
if (t1 < t0)
THROW_INCONSISTENCY_EXCEPTION;
double len = t1-t0;