Module: wine Branch: master Commit: e3a15936528ec7c28798c4cfacfe9b364a2d2a71 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3a15936528ec7c28798c4cfac...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Fri Sep 5 13:37:30 2008 +0200
dsound/tests: Fix typos in tests.
---
dlls/dsound/tests/dsound.c | 2 +- dlls/dsound/tests/dsound8.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c index 14a6a77..d6c0f29 100644 --- a/dlls/dsound/tests/dsound.c +++ b/dlls/dsound/tests/dsound.c @@ -759,7 +759,7 @@ static HRESULT test_secondary(LPGUID lpGuid) wfxe.Format.cbSize = sizeof(wfxe) - sizeof(wfx) + 1;
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL); - ok(DSERR_CONTROLUNAVAIL && !secondary, + ok(rc==DSERR_CONTROLUNAVAIL && !secondary, "IDirectSound_CreateSoundBuffer() returned: %08x %p\n", rc, secondary); if (secondary) diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c index e45f289..8edb9b4 100644 --- a/dlls/dsound/tests/dsound8.c +++ b/dlls/dsound/tests/dsound8.c @@ -753,7 +753,7 @@ static HRESULT test_secondary8(LPGUID lpGuid) wfxe.Format.cbSize = sizeof(wfxe) - sizeof(wfx) + 1;
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&secondary,NULL); - ok(DSERR_CONTROLUNAVAIL && !secondary, + ok(rc==DSERR_CONTROLUNAVAIL && !secondary, "IDirectSound_CreateSoundBuffer() returned: %08x %p\n", rc, secondary); if (secondary)