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
07751840
Commit
07751840
authored
Sep 30, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use proper type for text node in exec_hyperlink.
parent
90e3312c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
editor.c
dlls/mshtml/editor.c
+5
-4
No files found.
dlls/mshtml/editor.c
View file @
07751840
...
...
@@ -1170,13 +1170,14 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
/* create an element with text of URL */
if
(
insert_link_at_caret
)
{
nsIDOMNode
*
text_node
,
*
unused_node
;
nsIDOMNode
*
unused_node
;
nsIDOMText
*
text_node
;
nsIDOMHTMLDocument_CreateTextNode
(
This
->
doc_node
->
nsdoc
,
&
ns_url
,
(
nsIDOMText
**
)
&
text_node
);
nsIDOMHTMLDocument_CreateTextNode
(
This
->
doc_node
->
nsdoc
,
&
ns_url
,
&
text_node
);
/* wrap the <a> tags around the text element */
nsIDOMHTMLElement_AppendChild
(
anchor_elem
,
text_node
,
&
unused_node
);
nsIDOM
Node
_Release
(
text_node
);
nsIDOMHTMLElement_AppendChild
(
anchor_elem
,
(
nsIDOMNode
*
)
text_node
,
&
unused_node
);
nsIDOM
Text
_Release
(
text_node
);
nsIDOMNode_Release
(
unused_node
);
}
...
...
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