[Bug 10090] wineprefixcreate falsely complains "Could not load Mozilla..."

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 7 09:25:39 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10090


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #7 from Anastasius Focht <focht at gmx.net>  2008-03-07 09:25:39 ---
Hello,

the addition of load_gecko in mshtml's DllRegisterServer introduced this
annoyance.

Either use the "silent" parameter to omit this error message or don't call
load_gecko in server registration.

quick fix:

--- snip ---

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 08d13af..6868ea2 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -455,7 +455,7 @@ BOOL load_gecko(BOOL silent)
         if(load_wine_gecko(gre_path)
            || (install_wine_gecko(silent) && load_wine_gecko(gre_path)))
             ret = init_xpcom(gre_path);
-        else
+        else if(!silent)
            MESSAGE("Could not load Mozilla. HTML rendering will be
disabled.\n");
     }else {
         ret = pCompMgr != NULL;

--- snip ---

Regards


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list