mshtml.inf: Add default GeckoCabDir

Alexandre Goujon ale.goujon at gmail.com
Fri Oct 1 04:29:24 CDT 2010


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

diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c
index 1079713..2ba3dd3 100644
--- a/dlls/mshtml/install.c
+++ b/dlls/mshtml/install.c
@@ -539,9 +539,9 @@ BOOL install_wine_gecko(BOOL silent)
     }else {
         /*
          * Try to find Gecko .cab file in following order:
-         * - directory stored in GeckoCabDir value of HKCU/Software/MSHTML key
+         * - directory stored in GeckoCabDir value of HKCU/Software/Wine/MSHTML key
          * - $datadir/gecko
-         * - download from URL stored in GeckoUrl value of HKCU/Software/MSHTML key
+         * - download from URL stored in GeckoUrl value of HKCU/Software/Wine/MSHTML key
          */
         if(!install_from_registered_dir()
            && !install_from_default_dir()
diff --git a/dlls/mshtml/mshtml.inf b/dlls/mshtml/mshtml.inf
index d7d2428..dea1712 100644
--- a/dlls/mshtml/mshtml.inf
+++ b/dlls/mshtml/mshtml.inf
@@ -273,6 +273,7 @@ HKLM,"Software\Microsoft\Internet Explorer\Default Behaviors","TIME",, "CLSID:47
 
 [WineGecko.Reg]
 HKCU,Software\Wine\MSHTML,"GeckoUrl",,"http://source.winehq.org/winegecko.php"
+HKCU,Software\Wine\MSHTML,"GeckoCabDir",,"/usr/share/wine/gecko/"
 
 
 [FileAssoc.Reg]
-- 
1.7.0.4




More information about the wine-patches mailing list