hopefully fix weird newline behavior for real
This commit is contained in:
@@ -129,7 +129,7 @@ bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache)
|
|||||||
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
FILE* fp = fopen( sPath, "w" );
|
FILE* fp = fopen( sPath, "wt" );
|
||||||
if( fp == NULL )
|
if( fp == NULL )
|
||||||
{
|
{
|
||||||
LOG->Warn( "Error opening song file '%s' for writing: %s", sPath.c_str(), strerror(errno) );
|
LOG->Warn( "Error opening song file '%s' for writing: %s", sPath.c_str(), strerror(errno) );
|
||||||
|
|||||||
Reference in New Issue
Block a user