mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-02 17:09:26 +02:00
Bug 2688 - Bad saves with Unicode project filenames
This commit is contained in:
parent
c08131b78f
commit
2c47dc5ba1
@ -804,7 +804,7 @@ bool ProjectFileIO::CopyTo(const FilePath &destpath,
|
|||||||
|
|
||||||
// Attach the destination database
|
// Attach the destination database
|
||||||
wxString sql;
|
wxString sql;
|
||||||
sql.Printf("ATTACH DATABASE '%s' AS outbound;", destpath);
|
sql.Printf("ATTACH DATABASE '%s' AS outbound;", destpath.ToUTF8());
|
||||||
|
|
||||||
rc = sqlite3_exec(db, sql, nullptr, nullptr, nullptr);
|
rc = sqlite3_exec(db, sql, nullptr, nullptr, nullptr);
|
||||||
if (rc != SQLITE_OK)
|
if (rc != SQLITE_OK)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user