[Commits] SDL_mixer: Fixed bug 1358

libsdl.org revision control commits-owner at libsdl.org
Tue Jan 3 16:45:04 PST 2012


details:   http://hg.libsdl.org/SDL_mixer/rev/3afb3d401a9c
changeset: 541:3afb3d401a9c
user:      slouken:G0G0SDL
date:      Tue Jan 03 16:42:10 2012 -0800
description:
Fixed bug 1358

diffstat:

 music.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 6900b9cadfb3 -r 3afb3d401a9c music.c
--- a/music.c	Tue Jan 03 01:38:41 2012 -0500
+++ b/music.c	Tue Jan 03 16:42:10 2012 -0800
@@ -199,10 +199,12 @@
 	
 	if (!music_internal_playing()) 
 	{
+#ifdef USE_NATIVE_MIDI
 		/* Native MIDI handles looping internally */
 		if (music_playing->type == MUS_MID && native_midi_ok) {
 			music_loops = 0;
 		}
+#endif
 
 		/* Restart music if it has to loop at a high level */
 		if (music_loops)


More information about the commits mailing list