[SCRRUN_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
[reactos.git] / rostests / winetests / scrrun / dictionary.c
index 20c6d80..82cedc6 100644 (file)
@@ -101,8 +101,8 @@ static void test_comparemode(void)
             &IID_IDictionary, (void**)&dict);
     ok(hr == S_OK, "got 0x%08x\n", hr);
 
-if (0) /* crashes on native */
-    hr = IDictionary_get_CompareMode(dict, NULL);
+    if (0) /* crashes on native */
+        hr = IDictionary_get_CompareMode(dict, NULL);
 
     method = 10;
     hr = IDictionary_get_CompareMode(dict, &method);
@@ -209,7 +209,7 @@ static HRESULT WINAPI test_unk_no_QI(IUnknown *iface, REFIID riid, void **obj)
 
 static ULONG WINAPI test_unk_AddRef(IUnknown *iface)
 {
-    ok(0, "unxpected\n");
+    ok(0, "unexpected\n");
     return 2;
 }
 
@@ -218,13 +218,13 @@ static ULONG WINAPI test_unk_Release(IUnknown *iface)
     return 1;
 }
 
-static IUnknownVtbl test_unk_vtbl = {
+static /* const */ IUnknownVtbl test_unk_vtbl = {
     test_unk_QI,
     test_unk_AddRef,
     test_unk_Release
 };
 
-static IUnknownVtbl test_unk_no_vtbl = {
+static /* const */ IUnknownVtbl test_unk_no_vtbl = {
     test_unk_no_QI,
     test_unk_AddRef,
     test_unk_Release
@@ -244,7 +244,7 @@ static HRESULT WINAPI test_disp_QI(IDispatch *iface, REFIID riid, void **obj)
 
 static ULONG WINAPI test_disp_AddRef(IDispatch *iface)
 {
-    ok(0, "unxpected\n");
+    ok(0, "unexpected\n");
     return 2;
 }
 
@@ -279,7 +279,7 @@ static HRESULT WINAPI test_disp_Invoke(IDispatch *iface, DISPID dispid, REFIID r
     return E_NOTIMPL;
 }
 
-static IDispatchVtbl test_disp_vtbl = {
+static /* const */ IDispatchVtbl test_disp_vtbl = {
     test_disp_QI,
     test_disp_AddRef,
     test_disp_Release,
@@ -933,8 +933,8 @@ static void test_IEnumVARIANT(void)
             &IID_IDictionary, (void**)&dict);
     ok(hr == S_OK, "got 0x%08x\n", hr);
 
-if (0) /* crashes on native */
-    hr = IDictionary__NewEnum(dict, NULL);
+    if (0) /* crashes on native */
+        hr = IDictionary__NewEnum(dict, NULL);
 
     hr = IDictionary__NewEnum(dict, &enum1);
     ok(hr == S_OK, "got 0x%08x\n", hr);