Commit 6a11b63a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

shell32: Use FAILED instead of !SUCCEEDED.

parent ade55382
...@@ -1808,7 +1808,7 @@ HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY hKey, LPCWSTR pszSubKey, UINT max_ ...@@ -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. */ /* 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); dwClsidSize = sizeof(szClsidHandler);
if (SHGetValueW(hkPropSheetHandlers, szHandler, NULL, NULL, szClsidHandler, &dwClsidSize) == ERROR_SUCCESS) if (SHGetValueW(hkPropSheetHandlers, szHandler, NULL, NULL, szClsidHandler, &dwClsidSize) == ERROR_SUCCESS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment