mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-16 16:47:41 +02:00
Correct error trap - compare with what we are expecting.
This commit is contained in:
parent
54f7e4590b
commit
37eeb7628e
@ -237,7 +237,7 @@ bool SimpleBlockFile::WriteSimpleBlockFile(
|
||||
#else
|
||||
file.Write((char*)&int24sampleData[i], 3);
|
||||
#endif
|
||||
if (nBytesWritten != nBytesToWrite)
|
||||
if (nBytesWritten != 3)
|
||||
{
|
||||
wxLogDebug(wxT("Wrote %d bytes, expected 3."), nBytesWritten);
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user