Commit 8780a4fa authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

mshtml: Load xul with LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR.

parent 24d5e853
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment