mirror of https://github.com/odrling/Aegisub
Decode the autosave path when cleaning up old files
This commit is contained in:
parent
a266d32ce4
commit
f35e10c76a
|
@ -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 New Issue