From cf069c591714e7f152f54d5a49bfe12b9eebbec9 Mon Sep 17 00:00:00 2001
From: James Crook <james.k.crook@gmail.com>
Date: Wed, 1 May 2019 15:27:15 +0100
Subject: [PATCH] Bug 2101 (Wording) - Mac recovery file can be corrupted
 before recovery when switching between 32 and 64 bit builds

---
 src/AutoRecovery.cpp | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/AutoRecovery.cpp b/src/AutoRecovery.cpp
index 1d7a6bd3fb..3db347b37e 100644
--- a/src/AutoRecovery.cpp
+++ b/src/AutoRecovery.cpp
@@ -484,14 +484,11 @@ enum FieldTypes
    FT_Name           // type, ID, name length, name
 };
 
-wxString AutoSaveFile::FailureMessage( const FilePath &filePath )
-{
-   return wxString::Format(
-_("Could not decode crash recovery file: %s\n\n\
-This file was saved by a version of Audacity built for a different processor architecture. \
-Try running that version of Audacity to recover its contents."),
-      filePath
-   );
+wxString AutoSaveFile::FailureMessage( const FilePath &/*filePath*/ )
+{
+   return 
+_("This recovery file was saved by Audacity 2.3.0 or before.\n"
+   "You need to run that version of Audacity to recover the project." );
 }
 
 AutoSaveFile::AutoSaveFile(size_t allocSize)
-- 
GitLab