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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 24 10:00:44 CDT 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Mar 24 09:52:20 2015 +0100

mscoree: Use SUCCEEDED instead of !FAILED.

---

 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.




More information about the wine-cvs mailing list