fix reversed bKeepTrying

This commit is contained in:
Glenn Maynard
2004-05-21 20:55:24 +00:00
parent 65b72f3ee5
commit 1cc247d7b9
+1 -1
View File
@@ -63,7 +63,7 @@ SoundReader_FileReader *SoundReader_FileReader::TryOpenFile( CString filename, C
* error", "permission denied"), in which case all other readers will probably fail,
* too. The returned error is used, and no other formats will be tried.
*/
bKeepTrying = (ret == OPEN_MATCH_BUT_FAIL);
bKeepTrying = (ret != OPEN_FATAL_ERROR);
switch( ret )
{
case OPEN_UNKNOWN_FILE_FORMAT: