added braces to if statement in CreateDir
This commit is contained in:
committed by
teejusb
parent
551356e8f2
commit
c96034f605
@@ -663,7 +663,7 @@ bool RageFileManager::DeleteRecursive( const RString &sPath )
|
||||
|
||||
void RageFileManager::CreateDir( const RString &sDir )
|
||||
{
|
||||
if (DoesFileExist(sDir)) return;
|
||||
if (DoesFileExist(sDir)) { return; }
|
||||
RString sTempFile = sDir + "newdir.temp.newdir";
|
||||
RageFile f;
|
||||
f.Open( sTempFile, RageFile::WRITE );
|
||||
|
||||
Reference in New Issue
Block a user