add StripMacResourceForks(); hopefully prevents things like issue 178 ( http://ssc.ajworld.net/sm-ssc/bugtracker/view.php?id=178 ) from happening again

This commit is contained in:
AJ Kelly
2010-08-26 00:49:40 -05:00
parent 705bf9b778
commit 20a1802758
8 changed files with 23 additions and 1 deletions
+2
View File
@@ -79,6 +79,7 @@ void NoteSkinManager::RefreshNoteSkinData( const Game* pGame )
GetDirListing( sBaseSkinFolder + "*", asNoteSkinNames, true );
StripCvsAndSvn( asNoteSkinNames );
StripMacResourceForks( asNoteSkinNames );
g_mapNameToData.clear();
for( unsigned j=0; j<asNoteSkinNames.size(); j++ )
@@ -227,6 +228,7 @@ void NoteSkinManager::GetAllNoteSkinNamesForGame( const Game *pGame, vector<RStr
RString sBaseSkinFolder = SpecialFiles::NOTESKINS_DIR + pGame->m_szName + "/";
GetDirListing( sBaseSkinFolder + "*", AddTo, true );
StripCvsAndSvn( AddTo );
StripMacResourceForks( AddTo );
}
}