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
b0dd7c79
Commit
b0dd7c79
authored
Aug 07, 2015
by
Zhenbo Li
Committed by
Alexandre Julliard
Aug 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix error handler in IHTMLSelectElement::remove().
parent
6419ac0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
htmlselect.c
dlls/mshtml/htmlselect.c
+3
-0
dom.c
dlls/mshtml/tests/dom.c
+0
-1
No files found.
dlls/mshtml/htmlselect.c
View file @
b0dd7c79
...
...
@@ -432,6 +432,9 @@ static HRESULT WINAPI HTMLSelectElement_remove(IHTMLSelectElement *iface, LONG i
HTMLSelectElement
*
This
=
impl_from_IHTMLSelectElement
(
iface
);
nsresult
nsres
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
index
);
if
(
index
<
0
)
return
E_INVALIDARG
;
nsres
=
nsIDOMHTMLSelectElement_select_Remove
(
This
->
nsselect
,
index
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Remove failed: %08x
\n
"
,
nsres
);
...
...
dlls/mshtml/tests/dom.c
View file @
b0dd7c79
...
...
@@ -2872,7 +2872,6 @@ static void test_select_remove(IHTMLSelectElement *select)
test_select_length
(
select
,
2
);
hres
=
IHTMLSelectElement_remove
(
select
,
-
1
);
todo_wine
ok
(
hres
==
E_INVALIDARG
,
"remove failed: %08x, expected E_INVALIDARG
\n
"
,
hres
);
test_select_length
(
select
,
2
);
...
...
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