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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user