Take a look at the diff, and take a wild guess.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user