1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 22:28:57 +02:00

Fix for windows build

Trivial fix.
This commit is contained in:
David Bailes 2017-04-03 09:29:39 +01:00
parent ae48ac2cbd
commit 0e3f4ce50c

View File

@ -609,7 +609,7 @@ void Sequence::Paste(sampleCount s, const Sequence *src)
auto file = mDirManager->CopyBlockFile(block.f);
if (!file) {
wxASSERT(false); // TODO: Handle this better, alert the user of failure.
return false;
return;
}
newBlock.push_back(SeqBlock(file, block.start + s));
@ -743,7 +743,7 @@ void Sequence::AppendBlock
if (!newBlock.f) {
/// \todo Error Could not paste! (Out of disk space?)
wxASSERT(false); // TODO: Handle this better, alert the user of failure.
return false;
return;
}
mBlock.push_back(newBlock);