From 17e43aea98e862c7b2c1f2423e41df1547445c40 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 4 May 2004 00:01:24 +0000 Subject: [PATCH] use "\r\n" as newline for all platforms --- stepmania/src/RageFile.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageFile.cpp b/stepmania/src/RageFile.cpp index 10931dae5a..32b03501bb 100644 --- a/stepmania/src/RageFile.cpp +++ b/stepmania/src/RageFile.cpp @@ -201,11 +201,13 @@ CString RageFile::GetLine() return ret; } -#if defined(_WIN32) +// Always use "\r\n". Even though the program may be running on Unix, the +// files written to a memory card are likely to be edited using Windows. +//#if defined(_WIN32) #define NEWLINE "\r\n" -#else -#define NEWLINE "\n" -#endif +//#else +//#define NEWLINE "\n" +//#endif int RageFile::PutLine( const CString &str ) {