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);