mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
attempt to control intentation/formatting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34850 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
50634cb638
commit
975a59d54b
1 changed files with 2 additions and 1 deletions
|
@ -385,7 +385,8 @@ GS_PRIVATE_INTERNAL(NSXMLDocument)
|
||||||
xmlChar *buf = NULL;
|
xmlChar *buf = NULL;
|
||||||
int length;
|
int length;
|
||||||
|
|
||||||
xmlDocDumpFormatMemoryEnc(MY_DOC, &buf, &length, "utf-8", 1);
|
xmlDocDumpFormatMemoryEnc(MY_DOC, &buf, &length, "utf-8",
|
||||||
|
((options & NSXMLNodePrettyPrint) ? 1 : 0));
|
||||||
|
|
||||||
if (buf != 0 && length > 0)
|
if (buf != 0 && length > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue