do not try to create a directory when it exists
This commit is contained in:
committed by
teejusb
parent
93b65a441b
commit
551356e8f2
@@ -663,6 +663,7 @@ bool RageFileManager::DeleteRecursive( const RString &sPath )
|
||||
|
||||
void RageFileManager::CreateDir( const RString &sDir )
|
||||
{
|
||||
if (DoesFileExist(sDir)) return;
|
||||
RString sTempFile = sDir + "newdir.temp.newdir";
|
||||
RageFile f;
|
||||
f.Open( sTempFile, RageFile::WRITE );
|
||||
|
||||
Reference in New Issue
Block a user