Use proper symbols instead of magic number 23 for HTML resource type.
This commit is contained in:
parent
52788d1f1c
commit
2d652bb758
|
@ -463,7 +463,7 @@ static HRESULT WINAPI ResProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
|
||||||
return HRESULT_FROM_WIN32(GetLastError());
|
return HRESULT_FROM_WIN32(GetLastError());
|
||||||
}
|
}
|
||||||
|
|
||||||
src = FindResourceW(hdll, ++url_file, (LPCWSTR)23);
|
src = FindResourceW(hdll, ++url_file, (LPCWSTR)RT_HTML);
|
||||||
if(!src) {
|
if(!src) {
|
||||||
WARN("Could not find resource: %s\n", debugstr_w(url_file));
|
WARN("Could not find resource: %s\n", debugstr_w(url_file));
|
||||||
IInternetProtocolSink_ReportResult(pOIProtSink, HRESULT_FROM_WIN32(GetLastError()), 0, NULL);
|
IInternetProtocolSink_ReportResult(pOIProtSink, HRESULT_FROM_WIN32(GetLastError()), 0, NULL);
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
|
|
||||||
REGINST REGINST mshtml.inf
|
REGINST REGINST mshtml.inf
|
||||||
|
|
||||||
blank.htm 23 "blank.htm"
|
blank.htm HTML "blank.htm"
|
||||||
|
|
Loading…
Reference in New Issue