Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2d652bb7
Commit
2d652bb7
authored
Jun 30, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use proper symbols instead of magic number 23 for HTML resource type.
parent
52788d1f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
protocol.c
dlls/mshtml/protocol.c
+1
-1
rsrc.rc
dlls/mshtml/rsrc.rc
+1
-1
No files found.
dlls/mshtml/protocol.c
View file @
2d652bb7
...
...
@@ -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
);
...
...
dlls/mshtml/rsrc.rc
View file @
2d652bb7
...
...
@@ -18,4 +18,4 @@
REGINST REGINST mshtml.inf
blank.htm
23
"blank.htm"
blank.htm
HTML
"blank.htm"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment