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
0bbc95e4
Commit
0bbc95e4
authored
Aug 04, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix DOCUMENT_NODE handling in nsnode_to_nsstring_rec.
parent
f3bd5210
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
nsembed.c
dlls/mshtml/nsembed.c
+8
-5
No files found.
dlls/mshtml/nsembed.c
View file @
0bbc95e4
...
...
@@ -794,10 +794,12 @@ static HRESULT nsnode_to_nsstring_rec(nsIContentSerializer *serializer, nsIDOMNo
return
E_FAIL
;
}
nsres
=
nsIDOMNode_QueryInterface
(
nsnode
,
&
IID_nsIContent
,
(
void
**
)
&
nscontent
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Could not get nsIDontent interface: %08x
\n
"
,
nsres
);
return
E_FAIL
;
if
(
type
!=
DOCUMENT_NODE
)
{
nsres
=
nsIDOMNode_QueryInterface
(
nsnode
,
&
IID_nsIContent
,
(
void
**
)
&
nscontent
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Could not get nsIContent interface: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
}
switch
(
type
)
{
...
...
@@ -849,7 +851,8 @@ static HRESULT nsnode_to_nsstring_rec(nsIContentSerializer *serializer, nsIDOMNo
if
(
type
==
ELEMENT_NODE
)
nsIContentSerializer_AppendElementEnd
(
serializer
,
nscontent
,
str
);
nsIContent_Release
(
nscontent
);
if
(
type
!=
DOCUMENT_NODE
)
nsIContent_Release
(
nscontent
);
return
S_OK
;
}
...
...
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