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
e4e86a7c
Commit
e4e86a7c
authored
Mar 08, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Set proposed MIME to text/html on main document.
parent
e62a8ee0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
navigate.c
dlls/mshtml/navigate.c
+4
-1
No files found.
dlls/mshtml/navigate.c
View file @
e4e86a7c
...
...
@@ -1058,6 +1058,8 @@ static void on_stop_nsrequest(nsChannelBSC *This, HRESULT result)
static
HRESULT
read_stream_data
(
nsChannelBSC
*
This
,
IStream
*
stream
)
{
static
const
WCHAR
mimeTextHtml
[]
=
{
't'
,
'e'
,
'x'
,
't'
,
'/'
,
'h'
,
't'
,
'm'
,
'l'
,
0
};
DWORD
read
;
nsresult
nsres
;
HRESULT
hres
;
...
...
@@ -1094,7 +1096,8 @@ static HRESULT read_stream_data(nsChannelBSC *This, IStream *stream)
if
(
!
This
->
nschannel
->
content_type
)
{
WCHAR
*
mime
;
hres
=
FindMimeFromData
(
NULL
,
NULL
,
This
->
nsstream
->
buf
,
This
->
nsstream
->
buf_size
,
NULL
,
0
,
&
mime
,
0
);
hres
=
FindMimeFromData
(
NULL
,
NULL
,
This
->
nsstream
->
buf
,
This
->
nsstream
->
buf_size
,
This
->
window
?
mimeTextHtml
:
NULL
,
0
,
&
mime
,
0
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
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