summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/xmlfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/xmlfile.cpp')
-rw-r--r--src/lib/util/xmlfile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/util/xmlfile.cpp b/src/lib/util/xmlfile.cpp
index af5f36fae0d..a61c20d2e3c 100644
--- a/src/lib/util/xmlfile.cpp
+++ b/src/lib/util/xmlfile.cpp
@@ -1002,8 +1002,9 @@ void data_node::write_recursive(int indent, util::core_file &file) const
/* if there is a value, output that here */
if (!m_value.empty())
{
- file.printf("%*s\n", indent + 4, "");
+ file.printf("%*s", indent + 4, "");
write_escaped(file, m_value);
+ file.puts("\n");
}
/* loop over children and output them as well */