Use CreateDirectories.

This commit is contained in:
Glenn Maynard
2002-08-30 00:37:53 +00:00
parent 27decf5ca2
commit 2e34fe2ca6
+3 -2
View File
@@ -76,13 +76,14 @@ CString AnnouncerManager::GetPathTo( CString sFolderName )
{
LOG->Trace( "The current announcer is missing the folder '%s'.", sFolderName );
MessageBeep( MB_OK );
CreateDirectory( sPathToFolderCurrent, NULL );
CreateDirectories( sPathToFolderCurrent );
}
if( !DoesFileExist(sPathToFolderEmpty) )
{
LOG->Trace( "The empty announcer is missing the folder '%s'.", sFolderName );
MessageBeep( MB_OK );
CreateDirectory( sPathToFolderEmpty, NULL );
CreateDirectories( sPathToFolderEmpty );
CreateDirectories( sPathToFolderEmpty );
}
#endif