create Edits/ dir when saving profile
This commit is contained in:
@@ -591,6 +591,14 @@ bool Profile::SaveAllToDir( CString sDir, bool bSignData ) const
|
|||||||
|
|
||||||
SaveStatsWebPageToDir( sDir );
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user