diff --git a/rostests/winetests/scrrun/dictionary.c b/rostests/winetests/scrrun/dictionary.c index 4836f46defc..82cedc69425 100644 --- a/rostests/winetests/scrrun/dictionary.c +++ b/rostests/winetests/scrrun/dictionary.c @@ -101,10 +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); @@ -935,10 +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); diff --git a/rostests/winetests/scrrun/filesystem.c b/rostests/winetests/scrrun/filesystem.c index 8457714b0f6..cd0e6d6064a 100644 --- a/rostests/winetests/scrrun/filesystem.c +++ b/rostests/winetests/scrrun/filesystem.c @@ -621,7 +621,7 @@ static void test_GetFile(void) hr = IFile_get_Path(file, &str); ok(hr == S_OK, "got 0x%08x\n", hr); - ok(!lstrcmpW(str, pathW), "got %s\n", wine_dbgstr_w(str)); + ok(!lstrcmpiW(str, pathW), "got %s\n", wine_dbgstr_w(str)); SysFreeString(str); #define FILE_ATTR_MASK (FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_HIDDEN | \