added braces to if statement in CreateDir

This commit is contained in:
Sergio Perez Fernandez
2025-06-12 01:02:58 +02:00
committed by teejusb
parent 551356e8f2
commit c96034f605
+1 -1
View File
@@ -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 );