fixed the wrong test for real

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20671 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2007-04-12 20:32:19 +00:00
parent c7509fce9d
commit effe53fae9

View File

@ -40,7 +40,7 @@ BPushGameSound::BPushGameSound(size_t inBufferFrameCount, const gs_audio_format
return;
status_t error = SetParameters(inBufferFrameCount, format, inBufferCount);
if (error != B_OK)
if (error == B_OK)
fPageLocked = new BList;
else
SetInitError(error);