[Scummvm-cvs-logs] CVS: scummvm/sound mixer.cpp,1.51,1.52
Max Horn
fingolfin at users.sourceforge.net
Sun Jun 22 07:18:45 CEST 2003
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv8833
Modified Files:
mixer.cpp
Log Message:
d'oh
Index: mixer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mixer.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- mixer.cpp 22 Jun 2003 13:52:40 -0000 1.51
+++ mixer.cpp 22 Jun 2003 14:17:44 -0000 1.52
@@ -1128,12 +1128,12 @@
delete [] samples;
- if (_eof_flag && ! _is_cd_track)
+ if (_eof_flag && !_is_cd_track)
destroy();
}
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