[AD] Thinko in tests/play.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The prompt says that v/V alters the sfx volume, not the MIDI volume.

Applied to mainline and branch.

-- 
Eric Botcazou
Index: tests/play.c
===================================================================
RCS file: /cvsroot/alleg/allegro/tests/play.c,v
retrieving revision 1.9
diff -u -p -r1.9 play.c
--- tests/play.c	18 May 2003 09:24:55 -0000	1.9
+++ tests/play.c	15 Dec 2003 15:31:53 -0000
@@ -234,14 +234,14 @@ int main(int argc, char *argv[])
 	    vol -= 8;
 	    if (vol < 0)
 	       vol = 0;
-	    set_volume(-1, vol);
+	    set_volume(vol, -1);
 	    break;
 
 	 case 'V':
 	    vol += 8;
 	    if (vol > 255)
 	       vol = 255;
-	    set_volume(-1, vol);
+	    set_volume(vol, -1);
 	    break;
 
 	 case 'p':


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/