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
a4ad2cf8
Commit
a4ad2cf8
authored
Feb 12, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Handle non-HTML element in IHTMLSelectElement:add implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fba6da79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
htmlselect.c
dlls/mshtml/htmlselect.c
+6
-1
No files found.
dlls/mshtml/htmlselect.c
View file @
a4ad2cf8
...
...
@@ -425,6 +425,11 @@ static HRESULT WINAPI HTMLSelectElement_add(IHTMLSelectElement *iface, IHTMLElem
return
E_INVALIDARG
;
}
if
(
!
element_obj
->
html_element
)
{
FIXME
(
"Not HTML element
\n
"
);
return
E_NOTIMPL
;
}
nsvariant
=
create_nsvariant
();
if
(
!
nsvariant
)
return
E_FAIL
;
...
...
@@ -444,7 +449,7 @@ static HRESULT WINAPI HTMLSelectElement_add(IHTMLSelectElement *iface, IHTMLElem
}
if
(
NS_SUCCEEDED
(
nsres
))
nsres
=
nsIDOMHTMLSelectElement_Add
(
This
->
nsselect
,
element_obj
->
nselem
,
(
nsIVariant
*
)
nsvariant
);
nsres
=
nsIDOMHTMLSelectElement_Add
(
This
->
nsselect
,
element_obj
->
html_element
,
(
nsIVariant
*
)
nsvariant
);
nsIWritableVariant_Release
(
nsvariant
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Add failed: %08x
\n
"
,
nsres
);
...
...
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