From ea75c97d6d91f19f10292a79ffc2cb358555434e Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 6 Sep 2020 02:33:04 +1000 Subject: xmlfile.cpp: Put newline where it’s supposed to go after element content. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/util/xmlfile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3-70-g09d2