Harukalover's patch for bug #740

Originally committed to SVN as r2246.
This commit is contained in:
Niels Martin Hansen 2008-07-13 15:06:29 +00:00
parent d1d2fe5e99
commit 32cc996ce6

View file

@ -264,7 +264,7 @@ void AegisubApp::OnUnhandledException() {
path += _T("/");
dstpath.Assign(path);
if (!dstpath.DirExists()) wxMkdir(path);
wxString filename = StandardPaths::DecodePath(_T("?user/")) + origfile.GetName() + _T(".RECOVER.ass");
wxString filename = path + origfile.GetName() + _T(".RECOVER.ass");
AssFile::top->Save(filename,false,false);
// Inform user of crash