Fix obscure editor save bugs: clear cache after writing.

This commit is contained in:
Glenn Maynard
2003-11-01 22:09:56 +00:00
parent f6200a5e95
commit 71d11fd915
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -114,6 +114,9 @@ void NotesWriterSM::WriteSMNotesTag( const Steps &in, FILE* fp )
bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache)
{
/* Flush dir cache when writing steps, so the old size isn't cached. */
FlushDirCache();
unsigned i;
FILE* fp = fopen( sPath, "w" );