[PATCH] shell32/tests: Fix indentation warnings on GCC 6

Nikolay Sivov nsivov at codeweavers.com
Tue Aug 9 12:02:20 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/shell32/tests/appbar.c        | 4 ++--
 dlls/shell32/tests/shelldispatch.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/shell32/tests/appbar.c b/dlls/shell32/tests/appbar.c
index dbac4e6..1505a40 100644
--- a/dlls/shell32/tests/appbar.c
+++ b/dlls/shell32/tests/appbar.c
@@ -423,8 +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);
diff --git a/dlls/shell32/tests/shelldispatch.c b/dlls/shell32/tests/shelldispatch.c
index 70b6c36..9a47c67 100644
--- a/dlls/shell32/tests/shelldispatch.c
+++ b/dlls/shell32/tests/shelldispatch.c
@@ -728,9 +728,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 */
-- 
2.8.1




More information about the wine-patches mailing list