Michael Stefaniuc : ieframe: Let C look like C.

Alexandre Julliard julliard at winehq.org
Wed Feb 6 13:38:12 CST 2013


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Feb  6 10:59:50 2013 +0100

ieframe: Let C look like C.

---

 dlls/ieframe/intshcut.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/ieframe/intshcut.c b/dlls/ieframe/intshcut.c
index 71373c7..d4b71a7 100644
--- a/dlls/ieframe/intshcut.c
+++ b/dlls/ieframe/intshcut.c
@@ -613,7 +613,7 @@ static HRESULT WINAPI PersistFile_Save(IPersistFile *pFile, LPCOLESTR pszFileNam
             WriteFile(file, str_eol, lstrlenA(str_eol), &bytesWritten, NULL);
 
             hr = IPropertySetStorage_Open(This->property_set_storage, &FMTID_Intshcut, STGM_READ|STGM_SHARE_EXCLUSIVE, &pPropStgRead);
-            if SUCCEEDED(hr)
+            if (SUCCEEDED(hr))
             {
                 hr = IPropertyStorage_ReadMultiple(pPropStgRead, 2, ps, pvread);
                 if (hr == S_FALSE)
@@ -622,7 +622,7 @@ static HRESULT WINAPI PersistFile_Save(IPersistFile *pFile, LPCOLESTR pszFileNam
                     hr = S_OK;
                     IPropertyStorage_Release(pPropStgRead);
                 }
-                else if SUCCEEDED(hr)
+                else if (SUCCEEDED(hr))
                 {
                     char indexString[50];
                     len = WideCharToMultiByte(CP_UTF8, 0, pvread[0].u.pwszVal, -1, NULL, 0, 0, 0);
@@ -819,7 +819,7 @@ static InternetShortcut *create_shortcut(void)
         newshortcut->refCount = 1;
         hr = StgCreateStorageEx(NULL, STGM_CREATE | STGM_READWRITE | STGM_SHARE_EXCLUSIVE | STGM_DELETEONRELEASE,
                                 STGFMT_STORAGE, 0, NULL, NULL, &IID_IPropertySetStorage, (void **) &newshortcut->property_set_storage);
-        if FAILED(hr)
+        if (FAILED(hr))
         {
             TRACE("Failed to create the storage object needed for the shortcut.\n");
             heap_free(newshortcut);
@@ -827,7 +827,7 @@ static InternetShortcut *create_shortcut(void)
         }
 
         hr = IPropertySetStorage_Create(newshortcut->property_set_storage, &FMTID_Intshcut, NULL, PROPSETFLAG_DEFAULT, STGM_CREATE | STGM_READWRITE | STGM_SHARE_EXCLUSIVE, &dummy);
-        if FAILED(hr)
+        if (FAILED(hr))
         {
             TRACE("Failed to create the property object needed for the shortcut.\n");
             IPropertySetStorage_Release(newshortcut->property_set_storage);




More information about the wine-cvs mailing list