[PATCH] mshtml/tests: Use GetModuleHandleA instead of LoadLibraryA.

Andrey Gusev andrey.goosev at gmail.com
Fri Feb 23 04:08:03 CST 2018


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 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 6376f3f671..ebaa6305dd 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");
-- 
2.13.6




More information about the wine-devel mailing list