Akihiro Sagawa : oleaut32/tests: Use a boolean constant for BOOL argument.

Alexandre Julliard julliard at winehq.org
Wed Jun 11 13:36:24 CDT 2014


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

Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date:   Sun Jun  1 20:30:01 2014 +0900

oleaut32/tests: Use a boolean constant for BOOL argument.

---

 dlls/oleaut32/tests/typelib.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/oleaut32/tests/typelib.c b/dlls/oleaut32/tests/typelib.c
index a7e7c96..7abd606 100644
--- a/dlls/oleaut32/tests/typelib.c
+++ b/dlls/oleaut32/tests/typelib.c
@@ -1298,11 +1298,11 @@ static void test_QueryPathOfRegTypeLib(DWORD arch)
     StringFromGUID2(&uid, uid_str, 40);
     /*trace("GUID: %s\n", wine_dbgstr_w(uid_str));*/
 
-    if (!do_typelib_reg_key(&uid, 3, 0, arch, base, 0)) return;
-    if (!do_typelib_reg_key(&uid, 3, 1, arch, base, 0)) return;
-    if (!do_typelib_reg_key(&uid, 3, 37, arch, base, 0)) return;
-    if (!do_typelib_reg_key(&uid, 5, 37, arch, base, 0)) return;
-    if (arch == 64 && !do_typelib_reg_key(&uid, 5, 37, 32, wrongW, 0)) return;
+    if (!do_typelib_reg_key(&uid, 3, 0, arch, base, FALSE)) return;
+    if (!do_typelib_reg_key(&uid, 3, 1, arch, base, FALSE)) return;
+    if (!do_typelib_reg_key(&uid, 3, 37, arch, base, FALSE)) return;
+    if (!do_typelib_reg_key(&uid, 5, 37, arch, base, FALSE)) return;
+    if (arch == 64 && !do_typelib_reg_key(&uid, 5, 37, 32, wrongW, FALSE)) return;
 
     for (i = 0; i < sizeof(td)/sizeof(td[0]); i++)
     {
@@ -1315,7 +1315,7 @@ static void test_QueryPathOfRegTypeLib(DWORD arch)
         }
     }
 
-    do_typelib_reg_key(&uid, 0, 0, arch, NULL, 1);
+    do_typelib_reg_key(&uid, 0, 0, arch, NULL, TRUE);
 }
 
 static void test_inheritance(void)




More information about the wine-cvs mailing list