fix error check
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user