[PATCH] mshtml: Load xul with LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR.

Jactry Zeng jzeng at codeweavers.com
Fri Nov 30 01:07:05 CST 2018


Superseded patch 155118.

Signed-off-by: Jactry Zeng <jzeng at codeweavers.com>
---
 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 9acb0d29e8..5f6c046fd6 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;
-- 
2.19.2




More information about the wine-devel mailing list