applied patch from Lucas Brasilino fixing an indent problem. Daniel

* xmlwriter.c: applied patch from Lucas Brasilino fixing an indent
  problem.
Daniel
This commit is contained in:
Daniel Veillard 2004-01-05 13:05:58 +00:00
parent 35df6d404d
commit 751c9ec657
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Jan 5 14:03:59 CET 2004 Daniel Veillard <daniel@veillard.com>
* xmlwriter.c: applied patch from Lucas Brasilino fixing an indent
problem.
Sun Jan 4 18:54:29 MST 2004 John Fleck <jfleck@inkstain.net>
* doc/newapi.xsl: change background color of function

View File

@ -1224,6 +1224,9 @@ xmlTextWriterWriteString(xmlTextWriterPtr writer, const xmlChar * content)
break;
}
if (writer->indent)
writer->doindent = 0;
if (buf != 0) {
count =
xmlOutputBufferWriteString(writer->out, (const char *) buf);
@ -1980,7 +1983,6 @@ xmlTextWriterWriteElement(xmlTextWriterPtr writer, const xmlChar * name,
if (count == -1)
return -1;
sum += count;
writer->doindent = 0;
count = xmlTextWriterEndElement(writer);
if (count == -1)
return -1;