1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Introduce a pointer var to replace 3 double derefs with one.

This commit is contained in:
v.audacity 2010-08-10 23:28:57 +00:00
parent 477d499c06
commit 6fb4ed63f3

View File

@ -66,8 +66,9 @@ wxLongLong UndoManager::CalculateSpaceUsage(int index)
blocks = it->GetData()->GetSequenceBlockArray();
for (i = 0; i < blocks->GetCount(); i++)
{
if (blocks->Item(i)->f->GetFileName().FileExists())
cur[blocks->Item(i)->f] = blocks->Item(i)->f->GetSpaceUsage();
BlockFile* pBlockFile = blocks->Item(i)->f;
if (pBlockFile->GetFileName().FileExists())
cur[pBlockFile] = pBlockFile->GetSpaceUsage();
}
}
wt = (WaveTrack *) iter.Next();