Michael Stefaniuc : shell32: Use FAILED instead of !SUCCEEDED.

Alexandre Julliard julliard at winehq.org
Mon Mar 29 09:57:52 CDT 2010


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Sun Mar 28 23:50:40 2010 +0200

shell32: Use FAILED instead of !SUCCEEDED.

---

 dlls/shell32/shellord.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c
index 9e6425c..fac7a7a 100644
--- a/dlls/shell32/shellord.c
+++ b/dlls/shell32/shellord.c
@@ -1808,7 +1808,7 @@ HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY hKey, LPCWSTR pszSubKey, UINT max_
                 }
 
                 /* The CLSID is stored either in the key itself or in its default value. */
-                if (!SUCCEEDED(lRet = SHCLSIDFromStringW(szHandler, &clsid)))
+                if (FAILED(lRet = SHCLSIDFromStringW(szHandler, &clsid)))
                 {
                     dwClsidSize = sizeof(szClsidHandler);
                     if (SHGetValueW(hkPropSheetHandlers, szHandler, NULL, NULL, szClsidHandler, &dwClsidSize) == ERROR_SUCCESS)




More information about the wine-cvs mailing list