Alexandre Julliard : mshtml: Also search default directories for xul.dll dependencies.
Alexandre Julliard
julliard at winehq.org
Mon Mar 29 16:00:04 CDT 2021
Module: wine
Branch: master
Commit: 5f19e9c3ad9d8d1978c2588e1b937086d6a5ba8f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5f19e9c3ad9d8d1978c2588e1b937086d6a5ba8f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Mar 29 16:00:07 2021 +0200
mshtml: Also search default directories for xul.dll dependencies.
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 700eee4d779..d4fe7e96fc2 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -609,7 +609,7 @@ static BOOL load_xul(WCHAR *gecko_path)
len = wcslen(gecko_path);
wcscpy(gecko_path + len, L"\\xul.dll");
- xul_handle = LoadLibraryExW(gecko_path, 0, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR);
+ xul_handle = LoadLibraryExW(gecko_path, 0, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR | LOAD_LIBRARY_SEARCH_DEFAULT_DIRS);
gecko_path[len] = 0;
if(!xul_handle) {
WARN("Could not load XUL: %d\n", GetLastError());
More information about the wine-cvs
mailing list