forked from mia/Aegisub
Decode the autosave path when cleaning up old files
This commit is contained in:
parent
a266d32ce4
commit
f35e10c76a
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue