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
099eda8e
Commit
099eda8e
authored
Jul 14, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite/writer: Fix formatted output with WriteFullEndElement().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0fd4fae7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
writer.c
dlls/xmllite/writer.c
+6
-1
No files found.
dlls/xmllite/writer.c
View file @
099eda8e
...
...
@@ -414,7 +414,6 @@ static HRESULT writer_close_starttag(xmlwriter *writer)
if
(
!
writer
->
starttagopen
)
return
S_OK
;
hr
=
write_output_buffer
(
writer
->
output
,
gtW
,
ARRAY_SIZE
(
gtW
));
writer
->
starttagopen
=
FALSE
;
writer
->
state
=
XmlWriterState_Content
;
return
hr
;
}
...
...
@@ -958,6 +957,12 @@ static HRESULT WINAPI xmlwriter_WriteFullEndElement(IXmlWriter *iface)
writer_close_starttag
(
This
);
writer_dec_indent
(
This
);
/* don't force full end tag to the next line */
if
(
This
->
state
==
XmlWriterState_ElemStarted
)
This
->
state
=
XmlWriterState_Content
;
else
write_node_indent
(
This
);
/* write full end tag */
write_output_buffer
(
This
->
output
,
closeelementW
,
ARRAY_SIZE
(
closeelementW
));
write_output_buffer
(
This
->
output
,
element
->
qname
,
element
->
len
);
...
...
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