From 52ccb1415586ef601b62b1d112e9293911e3ad07 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Mon, 12 Nov 2007 19:32:13 +0100 Subject: [PATCH] dsound/tests: Better check to see if class is not available. --- dlls/dsound/tests/propset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dsound/tests/propset.c b/dlls/dsound/tests/propset.c index 17770594afd..1c65574fdc0 100644 --- a/dlls/dsound/tests/propset.c +++ b/dlls/dsound/tests/propset.c @@ -289,7 +289,7 @@ static void propset_private_tests(void) (void **)(&pcf)); /* some early versions of Direct Sound do not have this */ - if (pcf==0) + if (rc==CLASS_E_CLASSNOTAVAILABLE) return; /* direct sound private does have an IKsPropertySet */