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
0bb1ed41
Commit
0bb1ed41
authored
Nov 28, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Correctly handle flags in IHTMLElement:setAttribute.
parent
5f913d5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
htmlelem.c
dlls/mshtml/htmlelem.c
+2
-3
No files found.
dlls/mshtml/htmlelem.c
View file @
0bb1ed41
...
...
@@ -617,7 +617,7 @@ static HRESULT WINAPI HTMLElement_setAttribute(IHTMLElement *iface, BSTR strAttr
TRACE
(
"(%p)->(%s %s %08x)
\n
"
,
This
,
debugstr_w
(
strAttributeName
),
debugstr_variant
(
&
AttributeValue
),
lFlags
);
hres
=
IDispatchEx_GetDispID
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
strAttributeName
,
fdexNameCaseInsensitive
|
fdexNameEnsure
,
&
dispid
);
(
lFlags
&
1
?
fdexNameCaseSensitive
:
fdexNameCaseInsensitive
)
|
fdexNameEnsure
,
&
dispid
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
@@ -626,9 +626,8 @@ static HRESULT WINAPI HTMLElement_setAttribute(IHTMLElement *iface, BSTR strAttr
dispParams
.
rgdispidNamedArgs
=
&
dispidNamed
;
dispParams
.
rgvarg
=
&
AttributeValue
;
hres
=
IDispatchEx_InvokeEx
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispid
,
return
IDispatchEx_InvokeEx
(
&
This
->
node
.
dispex
.
IDispatchEx_iface
,
dispid
,
LOCALE_SYSTEM_DEFAULT
,
DISPATCH_PROPERTYPUT
,
&
dispParams
,
NULL
,
&
excep
,
NULL
);
return
hres
;
}
static
HRESULT
WINAPI
HTMLElement_getAttribute
(
IHTMLElement
*
iface
,
BSTR
strAttributeName
,
...
...
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