mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 14:50:06 +02:00
Bug671: Really fixed by the fix for bug389, but this is some extra safety.
This commit is contained in:
parent
11f308c72a
commit
e9479e6c26
@ -2577,7 +2577,7 @@ bool WaveTrack::MergeClips(int clipidx1, int clipidx2)
|
||||
WaveClip* clip1 = GetClipByIndex(clipidx1);
|
||||
WaveClip* clip2 = GetClipByIndex(clipidx2);
|
||||
|
||||
if (!clip2) // Could happen if one track of a linked pair had a split and the other didn't.
|
||||
if (!clip1 || !clip2) // Could happen if one track of a linked pair had a split and the other didn't.
|
||||
return false;
|
||||
|
||||
// Append data from second clip to first clip
|
||||
|
Loading…
x
Reference in New Issue
Block a user