mscoree: Use SUCCEEDED instead of !FAILED.

Michael Stefaniuc mstefani at redhat.de
Tue Mar 24 03:52:20 CDT 2015


---
 dlls/mscoree/corruntimehost.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c
index 6a037f8..87f1d32 100644
--- a/dlls/mscoree/corruntimehost.c
+++ b/dlls/mscoree/corruntimehost.c
@@ -1318,7 +1318,7 @@ HRESULT create_monodata(REFIID riid, LPVOID *ppObj )
             goto cleanup;
 
         hr = get_file_from_strongname(assemblyname, filename, MAX_PATH);
-        if (!SUCCEEDED(hr))
+        if (FAILED(hr))
         {
             /*
              * The registry doesn't have a CodeBase entry and it's not in the GAC.
-- 
1.9.3



More information about the wine-patches mailing list