Change the crash recovery naming scheme to be like the autosave files
This commit is contained in:
parent
eb823e66d3
commit
59a165f022
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ static void UnhandledExeception(bool stackWalk) {
|
||||||
if (!file.DirExists()) file.Mkdir();
|
if (!file.DirExists()) file.Mkdir();
|
||||||
|
|
||||||
// Save file
|
// 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);
|
AssFile::top->Save(filename,false,false);
|
||||||
|
|
||||||
#if wxUSE_STACKWALKER == 1
|
#if wxUSE_STACKWALKER == 1
|
||||||
|
|
Loading…
Reference in a new issue