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 );
|
RString sTag = GetSMNotesTag( out, *pSteps, bSavingCache );
|
||||||
f.PutLine( sTag );
|
f.PutLine( sTag );
|
||||||
}
|
}
|
||||||
if( !f.Flush() )
|
if( f.Flush() == -1 )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user