James Hawkins : advpack: Ignore the return value from the OCX registration.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 5 12:10:53 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 4b9311b5b20816fc59efeb3dacf005e00c059cf1
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=4b9311b5b20816fc59efeb3dacf005e00c059cf1

Author: James Hawkins <truiken at gmail.com>
Date:   Fri Apr 28 19:53:49 2006 -0500

advpack: Ignore the return value from the OCX registration.

---

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

diff --git a/dlls/advpack/advpack.c b/dlls/advpack/advpack.c
index cde1c52..82071a4 100644
--- a/dlls/advpack/advpack.c
+++ b/dlls/advpack/advpack.c
@@ -443,7 +443,8 @@ HRESULT do_ocx_reg(HMODULE hocx, BOOL do
     if (!reg_func)
         return E_FAIL;
 
-    return reg_func();
+    reg_func();
+    return S_OK;
 }
 
 /***********************************************************************




More information about the wine-cvs mailing list