This commit is contained in:
Glenn Maynard
2003-01-23 04:35:27 +00:00
parent 5d74003de0
commit f92825aecb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ void SongCacheIndex::ReadCacheIndex()
LOG->Trace( "Cache format is out of date. Deleting all cache files." );
CStringArray asCacheFileNames;
GetDirListing( "Cache/*.*", asCacheFileNames );
GetDirListing( "Cache/*", asCacheFileNames );
for( unsigned i=0; i<asCacheFileNames.size(); i++ )
DeleteFile( "Cache/" + asCacheFileNames[i] );
CacheIndex.Reset();