tab cleanup

This commit is contained in:
Glenn Maynard
2006-11-30 04:23:18 +00:00
parent cd5f4a6e39
commit a9ae14ba05
+2 -2
View File
@@ -108,7 +108,7 @@ RageSoundReader *RageSoundReader_FileReader::OpenFile( RString filename, RString
/* If the extension matches a format, try that first. */ /* If the extension matches a format, try that first. */
if( FileTypes.find(format) != FileTypes.end() ) if( FileTypes.find(format) != FileTypes.end() )
{ {
RageSoundReader_FileReader *NewSample = TryOpenFile( filename, error, format, bKeepTrying ); RageSoundReader_FileReader *NewSample = TryOpenFile( filename, error, format, bKeepTrying );
if( NewSample ) if( NewSample )
return NewSample; return NewSample;
FileTypes.erase( format ); FileTypes.erase( format );
@@ -116,7 +116,7 @@ RageSoundReader *RageSoundReader_FileReader::OpenFile( RString filename, RString
for( set<RString>::iterator it = FileTypes.begin(); bKeepTrying && it != FileTypes.end(); ++it ) for( set<RString>::iterator it = FileTypes.begin(); bKeepTrying && it != FileTypes.end(); ++it )
{ {
RageSoundReader_FileReader *NewSample = TryOpenFile( filename, error, *it, bKeepTrying ); RageSoundReader_FileReader *NewSample = TryOpenFile( filename, error, *it, bKeepTrying );
if( NewSample ) if( NewSample )
{ {
LOG->UserLog( "Sound file", filename, "is really %s.", it->c_str() ); LOG->UserLog( "Sound file", filename, "is really %s.", it->c_str() );