Andrey Gusev : mshtml/tests: Use GetModuleHandleA instead of LoadLibraryA.
Module: wine Branch: master Commit: 80690ecf4da076a98032b9292024973e489b3c65 URL: https://source.winehq.org/git/wine.git/?a=commit;h=80690ecf4da076a98032b9292... Author: Andrey Gusev <andrey.goosev(a)gmail.com> Date: Fri Feb 23 12:08:03 2018 +0200 mshtml/tests: Use GetModuleHandleA instead of LoadLibraryA. Signed-off-by: Andrey Gusev <andrey.goosev(a)gmail.com> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mshtml/tests/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/tests/protocol.c b/dlls/mshtml/tests/protocol.c index 6376f3f..ebaa630 100644 --- a/dlls/mshtml/tests/protocol.c +++ b/dlls/mshtml/tests/protocol.c @@ -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");
participants (1)
-
Alexandre Julliard