瀏覽代碼

Made NEWLINE default to unix newline in tinyxml

Ivan Safrin 13 年之前
父節點
當前提交
fecedf6221
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Core/Contents/Source/tinyxml.cpp

+ 1 - 1
Core/Contents/Source/tinyxml.cpp

@@ -34,7 +34,7 @@ distribution.
 // This document has been altered from the original in the following ways:
 // This document has been altered from the original in the following ways:
 // * It opens files through the Polycode OSFile abstraction rather than directly.
 // * It opens files through the Polycode OSFile abstraction rather than directly.
 // * It now uses Windows linebreaks consistently regardless of platform.
 // * It now uses Windows linebreaks consistently regardless of platform.
-#define NEWLINE "\r\n"
+#define NEWLINE "\n"
 
 
 bool TiXmlBase::condenseWhiteSpace = true;
 bool TiXmlBase::condenseWhiteSpace = true;