[Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.50,1.51

Max Horn fingolfin at users.sourceforge.net
Sun Jun 22 06:53:05 CEST 2003


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv6360

Modified Files:
	mixer.cpp 
Log Message:
fixed Vorbis CD track code

Index: mixer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mixer.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- mixer.cpp	22 Jun 2003 13:50:46 -0000	1.50
+++ mixer.cpp	22 Jun 2003 13:52:40 -0000	1.51
@@ -1133,7 +1133,7 @@
 }
 
 bool ChannelVorbis::isActive() {
-	return !_eof_flag && (_end_pos <= 0 && ov_pcm_tell(_ov_file) >= _end_pos);
+	return !_eof_flag && !(_end_pos <= 0 && ov_pcm_tell(_ov_file) >= _end_pos);
 }
 
 #endif





More information about the Scummvm-git-logs mailing list