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
0803167f
Commit
0803167f
authored
Oct 11, 2008
by
Michael Karcher
Committed by
Alexandre Julliard
Oct 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Remove superflous re-conversion from wide chars to utf8.
parent
adab2e57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
12 deletions
+4
-12
comment.c
dlls/msxml3/comment.c
+4
-12
No files found.
dlls/msxml3/comment.c
View file @
0803167f
...
...
@@ -601,25 +601,17 @@ static HRESULT WINAPI domcomment_appendData(
/* Older versions of libxml < 2.6.27 didn't correctly support
xmlTextConcat on Comment nodes. Fallback to setting the
contents directly if xmlTextConcat fails.
NOTE: if xmlTextConcat fails, pContent is destroyed.
*/
if
(
xmlTextConcat
(
pDOMNode
->
node
,
pContent
,
SysStringLen
(
p
)
)
==
0
)
hr
=
S_OK
;
else
{
xmlChar
*
pNew
;
p
Content
=
xmlChar_from_wchar
(
(
WCHAR
*
)
p
);
if
(
p
Content
)
p
New
=
xmlStrcat
(
xmlNodeGetContent
(
pDOMNode
->
node
),
pContent
);
if
(
p
New
)
{
pNew
=
xmlStrcat
(
xmlNodeGetContent
(
pDOMNode
->
node
),
pContent
);
if
(
pNew
)
{
xmlNodeSetContent
(
pDOMNode
->
node
,
pNew
);
hr
=
S_OK
;
}
else
hr
=
E_FAIL
;
xmlNodeSetContent
(
pDOMNode
->
node
,
pNew
);
hr
=
S_OK
;
}
else
hr
=
E_FAIL
;
...
...
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