mshtml/tests: Use GetModuleHandleA instead of LoadLibraryA.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5438ea9923
commit
80690ecf4d
|
@ -603,7 +603,7 @@ static void test_res_protocol(void)
|
||||||
test_res_url("/Test/res.html");
|
test_res_url("/Test/res.html");
|
||||||
test_res_url("/test/dir/dir2/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?query_part");
|
||||||
test_res_url("/test/dir/dir2/res.html#hash_part");
|
test_res_url("/test/dir/dir2/res.html#hash_part");
|
||||||
test_res_url("/#123");
|
test_res_url("/#123");
|
||||||
|
|
Loading…
Reference in New Issue