[SHELL32_WINETEST] Sync with Wine Staging 1.9.18.
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 7 Sep 2016 22:45:39 +0000 (22:45 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 7 Sep 2016 22:45:39 +0000 (22:45 +0000)
svn path=/trunk/; revision=72615

rostests/winetests/shell32/appbar.c
rostests/winetests/shell32/shelldispatch.c
rostests/winetests/shell32/shellole.c

index 7ec3c34..1505a40 100644 (file)
@@ -423,10 +423,8 @@ static void test_GetCurrentProcessExplicitAppUserModelID(void)
         return;
     }
 
-if (0) /* crashes on native */
-{
-    hr = pGetCurrentProcessExplicitAppUserModelID(NULL);
-}
+    if (0) /* crashes on native */
+        hr = pGetCurrentProcessExplicitAppUserModelID(NULL);
 
     appid = (void*)0xdeadbeef;
     hr = pGetCurrentProcessExplicitAppUserModelID(&appid);
index 3711fde..443128f 100644 (file)
@@ -727,11 +727,9 @@ todo_wine
         hr = IWebBrowser2_get_Document(wb, &doc);
 todo_wine
         ok(hr == S_OK, "got 0x%08x\n", hr);
-if (hr == S_OK)
-{
+if (hr == S_OK) {
         test_dispatch_typeinfo(doc, viewdual_riids);
 }
-
         IWebBrowser2_Release(wb);
 
         /* IServiceProvider */
index eb0d45b..df50e2b 100644 (file)
@@ -870,10 +870,8 @@ static void test_SHCreateSessionKey(void)
         return;
     }
 
-if (0) /* crashes on native */
-{
-    hr = pSHCreateSessionKey(KEY_READ, NULL);
-}
+    if (0) /* crashes on native */
+        hr = pSHCreateSessionKey(KEY_READ, NULL);
 
     hkey = (HKEY)0xdeadbeef;
     hr = pSHCreateSessionKey(0, &hkey);