Paul Vriens : mscms/tests: Fix wrong test for failure.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 25 07:28:05 CDT 2007


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

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Fri Jun 22 16:44:54 2007 +0200

mscms/tests: Fix wrong test for failure.

---

 dlls/mscms/tests/profile.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mscms/tests/profile.c b/dlls/mscms/tests/profile.c
index cdc6ea4..a412c44 100644
--- a/dlls/mscms/tests/profile.c
+++ b/dlls/mscms/tests/profile.c
@@ -554,9 +554,9 @@ static void check_registry(void)
     }
 
     res = RegQueryInfoKeyA(hkIcmKey, NULL, NULL, NULL, NULL, NULL, NULL, &dwValCount, NULL, NULL, NULL, NULL);
-    if (!res) 
+    if (res) 
     {
-        trace("RegQueryInfoKeyA() failed\n");
+        trace("RegQueryInfoKeyA() failed : %d\n", res);
         return;
     }
 




More information about the wine-cvs mailing list