From f35e10c76a4330954450c04c3e77449151dc440d Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 27 Oct 2012 19:26:45 -0700 Subject: [PATCH] Decode the autosave path when cleaning up old files --- aegisub/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/main.cpp b/aegisub/src/main.cpp index be71400e6..4cb1b0c8c 100644 --- a/aegisub/src/main.cpp +++ b/aegisub/src/main.cpp @@ -282,7 +282,7 @@ bool AegisubApp::OnInit() { #endif StartupLog("Clean old autosave files"); - wxString autosave_path = lagi_wxString(OPT_GET("Path/Auto/Save")->GetString()); + wxString autosave_path = StandardPaths::DecodePath(lagi_wxString(OPT_GET("Path/Auto/Save")->GetString())); CleanCache(autosave_path, "*.AUTOSAVE.ass", 100, 1000); StartupLog("Initialization complete");