Change the crash recovery naming scheme to be like the autosave files

This commit is contained in:
Thomas Goyne 2012-11-08 07:10:36 -08:00
parent eb823e66d3
commit 59a165f022

View file

@ -325,7 +325,7 @@ static void UnhandledExeception(bool stackWalk) {
if (!file.DirExists()) file.Mkdir();
// Save file
wxString filename = wxString::Format("%s/%s_%s.ass", file.GetPath(), wxDateTime::Now().Format("%Y-%m-%d-%H%M%S"), file.GetName());
wxString filename = wxString::Format("%s/%s.%s.ass", file.GetPath(), file.GetName(), wxDateTime::Now().Format("%Y-%m-%d-%H-%M-%S"));
AssFile::top->Save(filename,false,false);
#if wxUSE_STACKWALKER == 1