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:
parent
477d499c06
commit
6fb4ed63f3
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user