1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: Use correct newline chars when writing XML

This commit is contained in:
ed 2019-05-15 16:47:37 +01:00
parent 8e02cf9292
commit a2017062f5

View file

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