mkdir fix

This commit is contained in:
Glenn Maynard
2003-12-15 02:38:52 +00:00
parent 0f7f494dbb
commit 85d970e8c6
+1 -1
View File
@@ -285,7 +285,7 @@ RageFileObj *RageFileDriverDirect::Open( const CString &path, RageFile::OpenMode
{
const CString dir = Dirname(sPath);
if( this->GetFileType(dir) != RageFileManager::TYPE_DIR )
CreateDirectories( dir );
CreateDirectories( root + dir );
}
return MakeFileObjDirect( root + sPath, mode, p, err );