Commit 2d652bb7 authored by Alexandre Julliard's avatar Alexandre Julliard

Use proper symbols instead of magic number 23 for HTML resource type.

parent 52788d1f
......@@ -463,7 +463,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
return HRESULT_FROM_WIN32(GetLastError());
}
src = FindResourceW(hdll, ++url_file, (LPCWSTR)23);
src = FindResourceW(hdll, ++url_file, (LPCWSTR)RT_HTML);
if(!src) {
WARN("Could not find resource: %s\n", debugstr_w(url_file));
IInternetProtocolSink_ReportResult(pOIProtSink, HRESULT_FROM_WIN32(GetLastError()), 0, NULL);
......
......@@ -18,4 +18,4 @@
REGINST REGINST mshtml.inf
blank.htm 23 "blank.htm"
blank.htm HTML "blank.htm"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment