From 316456b635fb41874d5d13a13a3ba4994a60deec Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 5 Oct 2003 19:20:52 +0000 Subject: [PATCH] fix use of i out of scope --- test/ZSoundTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ZSoundTest.cpp b/test/ZSoundTest.cpp index cc5bf09..660a943 100644 --- a/test/ZSoundTest.cpp +++ b/test/ZSoundTest.cpp @@ -9,7 +9,7 @@ This example file is in the public domain, it may be used with no restrictions. and the home of this Library is http://www.zengine.sourceforge.net *******************************************************************************/ -/*$Id: ZSoundTest.cpp,v 1.17 2003/09/24 02:05:56 cozman Exp $*/ +/*$Id: ZSoundTest.cpp,v 1.18 2003/10/05 19:20:52 cozman Exp $*/ #include #include @@ -48,7 +48,7 @@ void Test() for(int i=0; i < 4; i++) sample[i].OpenFromZip("data/data.zip",FormatStr("%s.wav",name[i].c_str())); - sample[i].Open("data/whip.wav"); + sample[4].Open("data/whip.wav"); font.DrawText("(P)ause\t(U)npause",text[0]);