shdocvw: Use FAILED instead of !SUCCEEDED.

Michael Stefaniuc mstefani at redhat.de
Tue Oct 7 18:36:15 CDT 2008


---
 dlls/shdocvw/factory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shdocvw/factory.c b/dlls/shdocvw/factory.c
index ec3e7a6..9111300 100644
--- a/dlls/shdocvw/factory.c
+++ b/dlls/shdocvw/factory.c
@@ -330,5 +330,5 @@ DWORD register_iexplore(BOOL doregister)
         return S_OK;
     }
     hres = reg_install(doregister ? "RegisterIE" : "UnregisterIE", NULL);
-    return !SUCCEEDED(hres);
+    return FAILED(hres);
 }
-- 
1.6.0.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081008/db650c17/attachment.pgp 


More information about the wine-patches mailing list