From 2e34fe2ca6441da64cea24ddbb5a1c796afee4a1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 30 Aug 2002 00:37:53 +0000 Subject: [PATCH] Use CreateDirectories. --- stepmania/src/AnnouncerManager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/AnnouncerManager.cpp b/stepmania/src/AnnouncerManager.cpp index 7c5d27d292..2cf08b4d81 100644 --- a/stepmania/src/AnnouncerManager.cpp +++ b/stepmania/src/AnnouncerManager.cpp @@ -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