diff --git a/stepmania/src/NotesWriterSM.cpp b/stepmania/src/NotesWriterSM.cpp index 76efa90d42..04fa907f69 100644 --- a/stepmania/src/NotesWriterSM.cpp +++ b/stepmania/src/NotesWriterSM.cpp @@ -245,7 +245,7 @@ bool NotesWriterSM::Write( RString sPath, const Song &out, bool bSavingCache ) RString sTag = GetSMNotesTag( out, *pSteps, bSavingCache ); f.PutLine( sTag ); } - if( !f.Flush() ) + if( f.Flush() == -1 ) return false; return true;