diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index 6a037f8872c..87f1d3219ff 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.