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
7da84dfe
Commit
7da84dfe
authored
Feb 08, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed error handling in IHTMLFormElement::item in IE9+ mode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
86475d5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
htmlform.c
dlls/mshtml/htmlform.c
+5
-2
No files found.
dlls/mshtml/htmlform.c
View file @
7da84dfe
...
...
@@ -540,8 +540,11 @@ static HRESULT WINAPI HTMLFormElement_item(IHTMLFormElement *iface, VARIANT name
*
pdisp
=
NULL
;
if
(
V_VT
(
&
name
)
==
VT_I4
)
{
if
(
V_I4
(
&
name
)
<
0
)
return
E_INVALIDARG
;
if
(
V_I4
(
&
name
)
<
0
)
{
*
pdisp
=
NULL
;
return
dispex_compat_mode
(
&
This
->
element
.
node
.
event_target
.
dispex
)
>=
COMPAT_MODE_IE9
?
S_OK
:
E_INVALIDARG
;
}
return
htmlform_item
(
This
,
V_I4
(
&
name
),
pdisp
);
}
...
...
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