Module: wine Branch: master Commit: 15456454843301752ad520f2c9b2a5ad5bbbe051 URL: http://source.winehq.org/git/wine.git/?a=commit;h=15456454843301752ad520f2c9...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Sep 17 21:08:05 2012 +0200
dsound/tests: Avoid a crash on a Win2k box.
---
dlls/dsound/tests/duplex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dsound/tests/duplex.c b/dlls/dsound/tests/duplex.c index 170b552..b688803 100644 --- a/dlls/dsound/tests/duplex.c +++ b/dlls/dsound/tests/duplex.c @@ -285,7 +285,7 @@ static void test_COM(void) "IDirectSoundFullDuplex_Initialize failed: %08x, expected E_INVALIDARG\n", hr); hr = IDirectSoundFullDuplex_Initialize(dsfd, NULL, NULL, &cbufdesc, &bufdesc, get_hwnd(), DSSCL_EXCLUSIVE, &dscb8, &dsb8); - if (hr == DSERR_NODRIVER) { + if (hr == DSERR_NODRIVER || hr == DSERR_INVALIDCALL) { skip("No driver\n"); return; }