mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 16:20:05 +02:00
Fix for windows build
Trivial fix.
This commit is contained in:
parent
ae48ac2cbd
commit
0e3f4ce50c
@ -609,7 +609,7 @@ void Sequence::Paste(sampleCount s, const Sequence *src)
|
|||||||
auto file = mDirManager->CopyBlockFile(block.f);
|
auto file = mDirManager->CopyBlockFile(block.f);
|
||||||
if (!file) {
|
if (!file) {
|
||||||
wxASSERT(false); // TODO: Handle this better, alert the user of failure.
|
wxASSERT(false); // TODO: Handle this better, alert the user of failure.
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
newBlock.push_back(SeqBlock(file, block.start + s));
|
newBlock.push_back(SeqBlock(file, block.start + s));
|
||||||
@ -743,7 +743,7 @@ void Sequence::AppendBlock
|
|||||||
if (!newBlock.f) {
|
if (!newBlock.f) {
|
||||||
/// \todo Error Could not paste! (Out of disk space?)
|
/// \todo Error Could not paste! (Out of disk space?)
|
||||||
wxASSERT(false); // TODO: Handle this better, alert the user of failure.
|
wxASSERT(false); // TODO: Handle this better, alert the user of failure.
|
||||||
return false;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mBlock.push_back(newBlock);
|
mBlock.push_back(newBlock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user