Paul Vriens : dsound/tests: Better check to see if class is not available.

Alexandre Julliard julliard at winehq.org
Tue Nov 13 08:34:42 CST 2007


Module: wine
Branch: master
Commit: 52ccb1415586ef601b62b1d112e9293911e3ad07
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=52ccb1415586ef601b62b1d112e9293911e3ad07

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Mon Nov 12 19:32:13 2007 +0100

dsound/tests: Better check to see if class is not available.

---

 dlls/dsound/tests/propset.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dsound/tests/propset.c b/dlls/dsound/tests/propset.c
index 1777059..1c65574 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 */




More information about the wine-cvs mailing list