From 32cc996ce6339cbdb7f3456cc634d3757dc8858c Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sun, 13 Jul 2008 15:06:29 +0000 Subject: [PATCH] Harukalover's patch for bug #740 Originally committed to SVN as r2246. --- aegisub/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/main.cpp b/aegisub/main.cpp index 2f2f3f4a3..e994decc4 100644 --- a/aegisub/main.cpp +++ b/aegisub/main.cpp @@ -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