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
0af2a117
Commit
0af2a117
authored
Mar 03, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added support for indexed access to form elements.
parent
fa7c0882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
htmlform.c
dlls/mshtml/htmlform.c
+14
-0
No files found.
dlls/mshtml/htmlform.c
View file @
0af2a117
...
@@ -534,6 +534,20 @@ static HRESULT HTMLFormElement_get_dispid(HTMLDOMNode *iface,
...
@@ -534,6 +534,20 @@ static HRESULT HTMLFormElement_get_dispid(HTMLDOMNode *iface,
return
E_FAIL
;
return
E_FAIL
;
}
}
if
(
len
>
MSHTML_CUSTOM_DISPID_CNT
)
len
=
MSHTML_CUSTOM_DISPID_CNT
;
/* FIXME: Implement in more generic way */
if
(
'0'
<=
*
name
&&
*
name
<=
'9'
)
{
WCHAR
*
end_ptr
;
i
=
strtoulW
(
name
,
&
end_ptr
,
10
);
if
(
!*
end_ptr
&&
i
<
len
)
{
*
pid
=
MSHTML_DISPID_CUSTOM_MIN
+
i
;
return
S_OK
;
}
}
nsAString_InitDepend
(
&
nsname
,
nameW
);
nsAString_InitDepend
(
&
nsname
,
nameW
);
nsAString_Init
(
&
nsstr
,
NULL
);
nsAString_Init
(
&
nsstr
,
NULL
);
for
(
i
=
0
;
i
<
len
;
++
i
)
{
for
(
i
=
0
;
i
<
len
;
++
i
)
{
...
...
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