create Edits/ dir when saving profile

This commit is contained in:
Chris Danford
2004-04-22 23:10:56 +00:00
parent 59126d1b79
commit aa8be8f1e7
+8
View File
@@ -591,6 +591,14 @@ bool Profile::SaveAllToDir( CString sDir, bool bSignData ) const
SaveStatsWebPageToDir( sDir );
// create edits dir
CString sEditsTempFile = sDir + EDITS_SUBDIR + "temp";
RageFile f;
f.Open( sDir + EDITS_SUBDIR + "temp", RageFile::WRITE );
f.Close();
FILEMAN->Remove( sEditsTempFile );
return true;
}