*.* -> *
This commit is contained in:
@@ -244,7 +244,7 @@ void Background::LoadFromSong( Song* pSong )
|
||||
case MODE_ANIMATIONS:
|
||||
{
|
||||
CStringArray arrayPossibleAnims;
|
||||
GetDirListing( BG_ANIMS_DIR+"*.*", arrayPossibleAnims, true, true );
|
||||
GetDirListing( BG_ANIMS_DIR+"*", arrayPossibleAnims, true, true );
|
||||
// strip out "cvs" and "danger
|
||||
int i;
|
||||
for( i=arrayPossibleAnims.size()-1; i>=0; i-- )
|
||||
|
||||
@@ -1674,7 +1674,7 @@ void GameManager::GetNoteSkinNames( Game game, CStringArray &AddTo ) const
|
||||
GameDef* pGameDef = GAMEMAN->GetGameDefForGame( game );
|
||||
|
||||
CString sBaseSkinFolder = NOTESKIN_DIR + pGameDef->m_szName + "\\";
|
||||
GetDirListing( sBaseSkinFolder + "*.*", AddTo, true );
|
||||
GetDirListing( sBaseSkinFolder + "*", AddTo, true );
|
||||
|
||||
// strip out "CVS"
|
||||
for( int i=AddTo.size()-1; i>=0; i-- )
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user