Commit 80690ecf authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

mshtml/tests: Use GetModuleHandleA instead of LoadLibraryA.

parent 5438ea99
......@@ -603,7 +603,7 @@ static void test_res_protocol(void)
test_res_url("/Test/res.html");
test_res_url("/test/dir/dir2/res.html");
if(GetProcAddress(LoadLibraryA("urlmon.dll"), "CreateUri")) {
if(GetProcAddress(GetModuleHandleA("urlmon.dll"), "CreateUri")) {
test_res_url("/test/dir/dir2/res.html?query_part");
test_res_url("/test/dir/dir2/res.html#hash_part");
test_res_url("/#123");
......
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