Jactry Zeng : mshtml: Load xul with LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR.

Alexandre Julliard julliard at winehq.org
Fri Nov 30 14:34:41 CST 2018


Module: wine
Branch: master
Commit: 8780a4fa6d1189ef08b761d921682767a17f59d9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8780a4fa6d1189ef08b761d921682767a17f59d9

Author: Jactry Zeng <jzeng at codeweavers.com>
Date:   Fri Nov 30 15:07:05 2018 +0800

mshtml: Load xul with LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR.

Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/nsembed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 9acb0d2..5f6c046 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -496,7 +496,7 @@ static BOOL load_xul(const PRUnichar *gre_path)
 
     set_environment(gre_path);
 
-    xul_handle = LoadLibraryExW(file_name, 0, LOAD_WITH_ALTERED_SEARCH_PATH);
+    xul_handle = LoadLibraryExW(file_name, 0, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR);
     if(!xul_handle) {
         WARN("Could not load XUL: %d\n", GetLastError());
         return FALSE;




More information about the wine-cvs mailing list