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
256204d8
Commit
256204d8
authored
Oct 01, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from…
mshtml: Don't assume that nsIDOMHTML*Element interfaces inherit from nsIDOMHTMLElement in htmloption.c.
parent
f30f506d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
htmloption.c
dlls/mshtml/htmloption.c
+3
-3
No files found.
dlls/mshtml/htmloption.c
View file @
256204d8
...
...
@@ -209,11 +209,11 @@ static HRESULT WINAPI HTMLOptionElement_put_text(IHTMLOptionElement *iface, BSTR
while
(
1
)
{
nsIDOMNode
*
child
;
nsres
=
nsIDOMHTML
OptionElement_GetFirstChild
(
This
->
nsoption
,
&
child
);
nsres
=
nsIDOMHTML
Element_GetFirstChild
(
This
->
element
.
nselem
,
&
child
);
if
(
NS_FAILED
(
nsres
)
||
!
child
)
break
;
nsres
=
nsIDOMHTML
OptionElement_RemoveChild
(
This
->
nsoption
,
child
,
&
tmp
);
nsres
=
nsIDOMHTML
Element_RemoveChild
(
This
->
element
.
nselem
,
child
,
&
tmp
);
nsIDOMNode_Release
(
child
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIDOMNode_Release
(
tmp
);
...
...
@@ -231,7 +231,7 @@ static HRESULT WINAPI HTMLOptionElement_put_text(IHTMLOptionElement *iface, BSTR
return
E_FAIL
;
}
nsres
=
nsIDOMHTML
OptionElement_AppendChild
(
This
->
nsoption
,
(
nsIDOMNode
*
)
text_node
,
&
tmp
);
nsres
=
nsIDOMHTML
Element_AppendChild
(
This
->
element
.
nselem
,
(
nsIDOMNode
*
)
text_node
,
&
tmp
);
if
(
NS_SUCCEEDED
(
nsres
))
nsIDOMNode_Release
(
tmp
);
else
...
...
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