mirror of https://github.com/odrling/Aegisub
Fixed creation of catalogs on style manager.
Originally committed to SVN as r1332.
This commit is contained in:
parent
80573bcb78
commit
56ea22b0ff
|
@ -50,7 +50,7 @@
|
|||
void AssStyleStorage::Save(wxString name) {
|
||||
if (name.IsEmpty()) return;
|
||||
|
||||
TextFileWriter file(StandardPaths::DecodePath(_T("?data/catalog/")+name+_T(".sty")), _T("UTF-8"));
|
||||
TextFileWriter file(StandardPaths::DecodePath(_T("?user/catalog/")+name+_T(".sty")), _T("UTF-8"));
|
||||
|
||||
for (std::list<AssStyle*>::iterator cur=style.begin();cur!=style.end();cur++) {
|
||||
file.WriteLineToFile((*cur)->GetEntryData());
|
||||
|
|
Loading…
Reference in New Issue