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
6ee70903
Commit
6ee70903
authored
Aug 17, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't create element object for document node.
parent
77e8a680
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
htmlnode.c
dlls/mshtml/htmlnode.c
+1
-2
mshtml_private.h
dlls/mshtml/mshtml_private.h
+0
-3
No files found.
dlls/mshtml/htmlnode.c
View file @
6ee70903
...
...
@@ -370,8 +370,7 @@ HTMLDOMNode *get_node(HTMLDocument *This, nsIDOMNode *nsnode)
nsIDOMNode_GetNodeType
(
nsnode
,
&
node_type
);
if
(
node_type
==
NS_ELEMENT_NODE
||
node_type
==
NS_DOCUMENT_NODE
)
if
(
node_type
==
ELEMENT_NODE
)
HTMLElement_Create
(
ret
);
return
ret
;
...
...
dlls/mshtml/mshtml_private.h
View file @
6ee70903
...
...
@@ -47,9 +47,6 @@
#define NSAPI WINAPI
#define NS_ELEMENT_NODE 1
#define NS_DOCUMENT_NODE 9
#define MSHTML_E_NODOC 0x800a025c
typedef
struct
HTMLDOMNode
HTMLDOMNode
;
...
...
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