Fixed creation of catalogs on style manager.

Originally committed to SVN as r1332.
This commit is contained in:
Rodrigo Braz Monteiro 2007-07-01 19:07:19 +00:00
parent 80573bcb78
commit 56ea22b0ff
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
void AssStyleStorage::Save(wxString name) { void AssStyleStorage::Save(wxString name) {
if (name.IsEmpty()) return; 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++) { for (std::list<AssStyle*>::iterator cur=style.begin();cur!=style.end();cur++) {
file.WriteLineToFile((*cur)->GetEntryData()); file.WriteLineToFile((*cur)->GetEntryData());