Module: wine Branch: master Commit: 60d54eee93b0bc218a61cb6a9383322430811853 URL: http://source.winehq.org/git/wine.git/?a=commit;h=60d54eee93b0bc218a61cb6a93...
Author: Michael Stefaniuc mstefani@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.