diff --git a/stepmania/src/ProfileHtml.cpp b/stepmania/src/ProfileHtml.cpp
index ce05d702fb..257e0a408d 100644
--- a/stepmania/src/ProfileHtml.cpp
+++ b/stepmania/src/ProfileHtml.cpp
@@ -218,7 +218,7 @@ void PrintStatistics( RageFile &f, const Profile *pProfile, CString sTitle, vect
int iGradeCount[NUM_GRADES];
ZERO( iGradeCount );
- for( int i=0; iGetStepsHighScoreList(pSteps);
@@ -660,7 +660,7 @@ void PrintScreenshots( RageFile &f, const Profile *pProfile, CString sTitle, CSt
GetDirListing( sProfileDir+"Screenshots/*.jpg", asFiles );
BEGIN_TABLE(2);
- for( int i=0; i