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
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ void AegisubApp::OnUnhandledException() {
path += _T("/"); path += _T("/");
dstpath.Assign(path); dstpath.Assign(path);
if (!dstpath.DirExists()) wxMkdir(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); AssFile::top->Save(filename,false,false);
// Inform user of crash // Inform user of crash