fix Song::FreeAllLoadedFromProfiles

This commit is contained in:
Glenn Maynard
2004-06-05 07:51:40 +00:00
parent 6c93aebe04
commit f887354214
+1 -1
View File
@@ -1309,7 +1309,7 @@ bool Song::Matches(CString sGroup, CString sSong) const
void Song::FreeAllLoadedFromProfiles()
{
for( unsigned s=0; s<m_vpSteps.size(); s++ )
for( int s=m_vpSteps.size()-1; s>=0; s-- )
{
Steps* pSteps = m_vpSteps[s];
if( pSteps->WasLoadedFromProfile() )