remove the record from the vector, otherwise we end up with some invalid data because the vector's size doesn't decrese.

This commit is contained in:
Thad Ward
2003-09-03 12:17:06 +00:00
parent 34b8ae04b9
commit 5790860a2e
+1
View File
@@ -512,6 +512,7 @@ static void DeleteDuplicateSteps( Song *song, vector<Steps*> &vSteps )
song->GetSongDir().c_str(), s1->GetDescription().c_str(), s1->GetMeter() );
song->RemoveNotes(s2);
vSteps.erase(vSteps.begin()+j);
--j;
}
}