From 7136b252892c5cd81dec9dd0091a13a6b85b2ae9 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 12 Nov 2004 23:16:08 +0000 Subject: [PATCH] fix m_bFilled not being set to false --- stepmania/src/RageUtil_FileDB.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/RageUtil_FileDB.cpp b/stepmania/src/RageUtil_FileDB.cpp index dcab2a1d82..3b1b7ce161 100644 --- a/stepmania/src/RageUtil_FileDB.cpp +++ b/stepmania/src/RageUtil_FileDB.cpp @@ -299,10 +299,10 @@ FileSet *FilenameDB::GetFileSet( CString dir, bool create ) this->DelFileSet( i ); } - /* Create the FileSet and insert it. Since it's marked !m_bFilled, if other - * threads happen to try to use this directory before we finish filling it, - * they'll wait. */ + /* Create the FileSet and insert it. Set it to !m_bFilled, so if other threads + * happen to try to use this directory before we finish filling it, they'll wait. */ ret = new FileSet; + ret->m_bFilled = false; dirs[lower] = ret; /* Unlock while we populate the directory. This way, reads to other directories