Take a look at the diff, and take a wild guess.

This commit is contained in:
Ben Anderson
2003-11-01 23:43:22 +00:00
parent 8b495ae9c1
commit 31f6ad7215
+3 -2
View File
@@ -247,7 +247,8 @@ bool ProfileManager::CreateMachineProfile( CString sName )
//
CString sProfileID, sProfileDir;
const int MAX_TRIES = 1000;
for( int i=0; i<MAX_TRIES; i++ )
int i;
for( i=0; i<MAX_TRIES; i++ )
{
sProfileID = ssprintf("%08d",i);
sProfileDir = PROFILES_DIR + sProfileID;
@@ -310,4 +311,4 @@ bool ProfileManager::DeleteMachineProfile( CString sProfileID )
return false;
else
return true;
}
}