From 6a11b63a8023e9fe98998a7eab15d488e7645d36 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sun, 28 Mar 2010 23:50:40 +0200 Subject: [PATCH] shell32: Use FAILED instead of !SUCCEEDED. --- dlls/shell32/shellord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c index 9e6425c2c7..fac7a7a4d5 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) -- 2.32.0.93.g670b81a890