Gerald Pfeifer : dsound/tests: Fix two broken conditions.
Alexandre Julliard
julliard at winehq.org
Mon Jun 22 09:04:13 CDT 2009
Module: wine
Branch: master
Commit: 94203b5ddb4b1d988465a68320d43b23db9b303d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=94203b5ddb4b1d988465a68320d43b23db9b303d
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Fri Jun 19 19:17:22 2009 +0200
dsound/tests: Fix two broken conditions.
---
dlls/dsound/tests/dsound8.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c
index a52f653..a2b16d8 100644
--- a/dlls/dsound/tests/dsound8.c
+++ b/dlls/dsound/tests/dsound8.c
@@ -759,7 +759,7 @@ static HRESULT test_secondary8(LPGUID lpGuid)
wfxe.Format.cbSize = sizeof(wfxe) - sizeof(wfx) + 1;
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL);
- ok(((rc==DSERR_CONTROLUNAVAIL || DSERR_INVALIDCALL /* 2003 */) && !secondary)
+ ok(((rc==DSERR_CONTROLUNAVAIL || rc==DSERR_INVALIDCALL /* 2003 */) && !secondary)
|| rc==DS_OK /* driver dependent? */,
"IDirectSound_CreateSoundBuffer() returned: %08x %p\n",
rc, secondary);
@@ -805,7 +805,7 @@ static HRESULT test_secondary8(LPGUID lpGuid)
wfxe.Format.cbSize = sizeof(wfxe) + 1;
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL);
- ok(((rc==DSERR_CONTROLUNAVAIL || DSERR_INVALIDCALL /* 2003 */) && !secondary)
+ ok(((rc==DSERR_CONTROLUNAVAIL || rc==DSERR_INVALIDCALL /* 2003 */) && !secondary)
|| rc==DS_OK /* driver dependent? */,
"IDirectSound_CreateSoundBuffer() returned: %08x %p\n",
rc, secondary);
More information about the wine-cvs
mailing list