From 9695b7bb50e0eb5b00e08cbf38dc19f9f0ec05df Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 21 Sep 2006 06:38:00 +0000 Subject: [PATCH] because we just created things that didn't exist before; if "x/" doesn't exist, you look up "x/*", then create "x/" and "x/y", looking up "x/*" again may return a cached empty result (or it may not, but best to be safe) --- stepmania/src/Profile.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index 6661d23924..823cffd62c 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -909,7 +909,6 @@ bool Profile::SaveAllToDir( RString sDir, bool bSignData ) const FILEMAN->CreateDir( sDir + EDIT_COURSES_SUBDIR ); FILEMAN->CreateDir( sDir + SCREENSHOTS_SUBDIR ); - // XXX: Why do we need to flush here? FILEMAN->FlushDirCache( sDir ); return bSaved;