diff --git a/src/ProjectFileIO.cpp b/src/ProjectFileIO.cpp index 0d8b256b3..5724a49d3 100644 --- a/src/ProjectFileIO.cpp +++ b/src/ProjectFileIO.cpp @@ -1179,7 +1179,7 @@ bool ProjectFileIO::ShouldVacuum(const std::shared_ptr &tracks) // Let's make a percentage...should be plenty of head room current *= 100; - wxLogDebug(wxT("used = %lld total = %lld %lld\n"), current, total, total ? current / total : 0); + wxLogDebug(wxT("used = %lld total = %lld %lld"), current, total, total ? current / total : 0); if (!total || current / total > 80) { wxLogDebug(wxT("not vacuuming")); diff --git a/src/ProjectFileManager.cpp b/src/ProjectFileManager.cpp index e570c9412..031a213fc 100644 --- a/src/ProjectFileManager.cpp +++ b/src/ProjectFileManager.cpp @@ -144,9 +144,13 @@ auto ProjectFileManager::ReadProjectFile( const FilePath &fileName ) { if (projectFileIO.IsRecovered()) { + bool resaved = projectFileIO.SaveProject(fileName); AudacityMessageBox( - XO("This project was not saved properly the last time Audacity ran.\n\n" - "It has been recovered to the last snapshot."), + resaved + ? XO("This project was not saved properly the last time Audacity ran.\n\n" + "It has been recovered to the last snapshot and resaved.") + : XO("This project was not saved properly the last time Audacity ran.\n\n" + "It has been recovered to the last snapshot."), XO("Project Recovered"), wxICON_WARNING, &window);