From 6432db85485ef17a0452c00dbf4ca95e61e1fc70 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Wed, 16 Mar 2011 21:33:31 -0500 Subject: [PATCH] update comment --- src/ScreenEdit.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index 988a99e3f8..8746e79e24 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -2839,7 +2839,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) { /* We committed the steps to SongManager. Revert to the last save, and * recommit the reversion to SongManager. */ - LOG->Trace( "Save failed. Changes uncommitted from memory." ); + LOG->Trace( "Save failed. Changes uncommitted from memory." ); CopyFromLastSave(); m_pSteps->SetNoteData( m_NoteDataEdit ); } @@ -2848,8 +2848,11 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) // IMPORTANT: CopyFromLastSave before deleting the Steps below CopyFromLastSave(); - /* The user has been given a choice to save. Delete all unsaved - * steps before exiting the editor. */ + /* The user has been given a choice to save. + * Delete all unsaved steps before exiting the editor. */ + /* FIXME: This code causes all the steps to be deleted if you quit + * without saving. However, without this code, any new steps will get + * saved on quit. -aj */ /* Song *pSong = GAMESTATE->m_pCurSong; const vector &apSteps = pSong->GetAllSteps();