ChangeSet ID: 18581 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2005/06/30 16:01:03 Modified files: dlls/mshtml : rsrc.rc protocol.c Log message: Use proper symbols instead of magic number 23 for HTML resource type. Patch: http://cvs.winehq.org/patch.py?id=18581 Old revision New revision Changes Path 1.3 1.4 +1 -1 wine/dlls/mshtml/rsrc.rc 1.2 1.3 +1 -1 wine/dlls/mshtml/protocol.c Index: wine/dlls/mshtml/rsrc.rc diff -u -p wine/dlls/mshtml/rsrc.rc:1.3 wine/dlls/mshtml/rsrc.rc:1.4 --- wine/dlls/mshtml/rsrc.rc:1.3 Mon May 20 21:58:33 2013 +++ wine/dlls/mshtml/rsrc.rc Mon May 20 21:58:33 2013 @@ -18,4 +18,4 @@ REGINST REGINST mshtml.inf -blank.htm 23 "blank.htm" +blank.htm HTML "blank.htm" Index: wine/dlls/mshtml/protocol.c diff -u -p wine/dlls/mshtml/protocol.c:1.2 wine/dlls/mshtml/protocol.c:1.3 --- wine/dlls/mshtml/protocol.c:1.2 Mon May 20 21:58:33 2013 +++ wine/dlls/mshtml/protocol.c Mon May 20 21:58:33 2013 @@ -463,7 +463,7 @@ static HRESULT WINAPI ResProtocol_Start( 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);