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 */