Update Sequence.cpp
Fix crash on Linux when recovering project where samples read do not match expected number of samples.
This commit is contained in:
parent
a771faa492
commit
0ac3ed8453
|
@ -1140,7 +1140,7 @@ bool Sequence::Read(samplePtr buffer, sampleFormat format,
|
|||
|
||||
if (result != len)
|
||||
{
|
||||
wxLogWarning(wxT("Expected to read %ld samples, got %d samples."),
|
||||
wxLogWarning(wxT("Expected to read %ld samples, got %ld samples."),
|
||||
len, result);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user