Michael Stefaniuc : mshtml: RT_HTML is already an INTRESOURCE (PVS-Studio) .

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 24 10:33:23 CST 2015


Module: wine
Branch: master
Commit: 5d578b48fcb1adcf75acc32ef0233e78acbd6faa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5d578b48fcb1adcf75acc32ef0233e78acbd6faa

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Feb 24 09:35:33 2015 +0100

mshtml: RT_HTML is already an INTRESOURCE (PVS-Studio).

---

 dlls/mshtml/protocol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c
index 9988c90..0d822b4 100644
--- a/dlls/mshtml/protocol.c
+++ b/dlls/mshtml/protocol.c
@@ -643,7 +643,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
         *url_file++ = 0;
     }else {
         url_file = res_type;
-        res_type = MAKEINTRESOURCEW(RT_HTML);
+        res_type = (LPWSTR)RT_HTML;
     }
 
     /* Ignore query and hash parts. */




More information about the wine-cvs mailing list