Jacek Caban : mshtml: Try installing Gecko from hardcoded '/usr/share/wine/ gecko/' location.

Alexandre Julliard julliard at winehq.org
Mon Oct 4 11:04:02 CDT 2010


Module: wine
Branch: master
Commit: 1f716bcbf4b7784587a2cb3870041c4a032f1039
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1f716bcbf4b7784587a2cb3870041c4a032f1039

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Oct  1 15:30:19 2010 +0200

mshtml: Try installing Gecko from hardcoded '/usr/share/wine/gecko/' location.

---

 dlls/mshtml/install.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c
index 1079713..243788e 100644
--- a/dlls/mshtml/install.c
+++ b/dlls/mshtml/install.c
@@ -283,7 +283,10 @@ static BOOL install_from_default_dir(void)
     ret = install_from_unix_file(file_name);
 
     heap_free(file_name);
-    return ret;
+    if(ret)
+        return TRUE;
+
+    return install_from_unix_file("/usr/share/wine/gecko/" GECKO_FILE_NAME);
 }
 
 static HRESULT WINAPI InstallCallback_QueryInterface(IBindStatusCallback *iface,




More information about the wine-cvs mailing list