mirror of https://github.com/odrling/Aegisub
Change the crash recovery naming scheme to be like the autosave files
This commit is contained in:
parent
eb823e66d3
commit
59a165f022
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue