From a5ab1a566487aa53c0f05756bfb2eb22ce776e42 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 27 Apr 2005 01:48:52 +0000 Subject: [PATCH] fix error check --- stepmania/src/RageSoundReader_Vorbisfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSoundReader_Vorbisfile.cpp b/stepmania/src/RageSoundReader_Vorbisfile.cpp index aa2798481c..71e66c82eb 100644 --- a/stepmania/src/RageSoundReader_Vorbisfile.cpp +++ b/stepmania/src/RageSoundReader_Vorbisfile.cpp @@ -285,7 +285,7 @@ SoundReader *RageSoundReader_Vorbisfile::Copy() const /* If we were able to open the sound in the first place, we expect to * be able to reopen it. */ - if( !ret->Open(pFile) ) + if( ret->Open(pFile) != OPEN_OK ) FAIL_M( ssprintf("Copying sound failed: %s", ret->GetError().c_str()) ); return ret;