shell32: Use FAILED instead of !SUCCEEDED.
Michael Stefaniuc
mstefani at redhat.de
Sun Mar 28 16:50:40 CDT 2010
---
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)
--
1.7.0.2
More information about the wine-patches
mailing list