Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7c8cdd51
Commit
7c8cdd51
authored
Oct 13, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't fail in IHTMLDOMNode::appendChild if AppendChild failed.
parent
beec20f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
htmlnode.c
dlls/mshtml/htmlnode.c
+3
-2
No files found.
dlls/mshtml/htmlnode.c
View file @
7c8cdd51
...
...
@@ -512,6 +512,7 @@ static HRESULT WINAPI HTMLDOMNode_removeChild(IHTMLDOMNode *iface, IHTMLDOMNode
/* FIXME: Make sure that node != newChild */
*
node
=
HTMLDOMNODE
(
get_node
(
This
->
doc
,
nsnode
,
TRUE
));
nsIDOMNode_Release
(
nsnode
);
IHTMLDOMNode_AddRef
(
*
node
);
return
S_OK
;
}
...
...
@@ -572,8 +573,8 @@ static HRESULT WINAPI HTMLDOMNode_appendChild(IHTMLDOMNode *iface, IHTMLDOMNode
nsres
=
nsIDOMNode_AppendChild
(
This
->
nsnode
,
node_obj
->
nsnode
,
&
nsnode
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"AppendChild failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
WARN
(
"AppendChild failed: %08x
\n
"
,
nsres
);
nsnode
=
node_obj
->
nsnode
;
}
/* FIXME: Make sure that node != newChild */
...
...
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