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:
Andrey Gusev 2018-02-23 12:08:03 +02:00 committed by Alexandre Julliard
parent 5438ea9923
commit 80690ecf4d
1 changed files with 1 additions and 1 deletions

View File

@ -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");