From a2017062f58d0634da7db9a7e74d23636c2d09e3 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 15 May 2019 16:47:37 +0100 Subject: [PATCH] Projucer: Use correct newline chars when writing XML --- extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.h b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.h index f00b2f6f79..ea2bd81692 100644 --- a/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.h +++ b/extras/Projucer/Source/ProjectSaving/jucer_ProjectExporter.h @@ -449,7 +449,7 @@ protected: XmlElement::TextFormat format; format.customEncoding = encoding; format.lineWrapLength = maxCharsPerLine; - format.newLineChars = useUnixNewLines ? "\r\n" : "\n"; + format.newLineChars = useUnixNewLines ? "\n" : "\r\n"; MemoryOutputStream mo (8192); xml.writeTo (mo, format);