mshtml: Also search default directories for xul.dll dependencies.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b28c8b69b3
commit
5f19e9c3ad
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue