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:
parent
c7509fce9d
commit
effe53fae9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user