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
62b84394
Commit
62b84394
authored
Jan 04, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't assume that end_pos.node is text node in range_to_string.
parent
0cf629b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
txtrange.c
dlls/mshtml/txtrange.c
+6
-2
No files found.
dlls/mshtml/txtrange.c
View file @
62b84394
...
...
@@ -496,8 +496,12 @@ static void range_to_string(HTMLTxtRange *This, wstrbuf_t *buf)
nsIDOMNode_AddRef
(
end_pos
.
node
);
if
(
start_pos
.
node
!=
end_pos
.
node
&&
!
is_br_node
(
end_pos
.
node
))
wstrbuf_append_nodetxt
(
buf
,
end_pos
.
p
,
end_pos
.
off
+
1
);
if
(
start_pos
.
node
!=
end_pos
.
node
)
{
if
(
end_pos
.
type
==
TEXT_NODE
)
wstrbuf_append_nodetxt
(
buf
,
end_pos
.
p
,
end_pos
.
off
+
1
);
else
wstrbuf_append_node
(
buf
,
end_pos
.
node
);
}
nsIDOMNode_Release
(
iter
);
dompos_release
(
&
start_pos
);
...
...
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