1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-29 22:58:39 +02:00

Merge branch 'master' into sampleCount

This commit is contained in:
Paul Licameli 2016-09-06 20:45:59 -04:00
commit f372aee9a1

View File

@ -106,7 +106,8 @@ void UndoManager::CalculateSpaceUsage()
// in the previous level // in the previous level
if (prev->count( &*file ) == 0 && cur->count( &*file ) == 0) if (prev->count( &*file ) == 0 && cur->count( &*file ) == 0)
{ {
space[i] += { file->GetSpaceUsage() }; unsigned long long usage{ file->GetSpaceUsage() };
space[i] += usage;
} }
// Add file to current set // Add file to current set