From df90e4f4c2052cca2655ec6fa968708fa635c4f8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 15 Oct 2006 07:15:40 +0000 Subject: [PATCH] simplify --- stepmania/src/SongManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 562350ac41..aa2b4295f4 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -687,7 +687,7 @@ void SongManager::InitCoursesFromDisk( LoadingWindow *ld ) { // Find all group directories in Courses dir vector vsCourseGroupNames; - GetDirListing( *sDir + "*", vsCourseGroupNames, true ); + GetDirListing( *sDir + "*", vsCourseGroupNames, true, true ); StripCvs( vsCourseGroupNames ); SortRStringArray( vsCourseGroupNames ); @@ -695,7 +695,7 @@ void SongManager::InitCoursesFromDisk( LoadingWindow *ld ) { // Find all CRS files in this group directory vector vsCoursePaths; - GetDirListing( *sDir + *sCourseGroup + "/*.crs", vsCoursePaths, false, true ); + GetDirListing( *sCourseGroup + "/*.crs", vsCoursePaths, false, true ); SortRStringArray( vsCoursePaths ); FOREACH_CONST( RString, vsCoursePaths, sCoursePath )