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

This commit is contained in:
Alexandre Julliard 2005-06-30 21:01:03 +00:00
parent 52788d1f1c
commit 2d652bb758
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -18,4 +18,4 @@
REGINST REGINST mshtml.inf
blank.htm 23 "blank.htm"
blank.htm HTML "blank.htm"