1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 00:49:33 +02:00

Bug 2688 - Bad saves with Unicode project filenames

This commit is contained in:
Leland Lucius 2021-03-08 12:42:09 -06:00
parent c08131b78f
commit 2c47dc5ba1

View File

@ -804,7 +804,7 @@ bool ProjectFileIO::CopyTo(const FilePath &destpath,
// Attach the destination database
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);
if (rc != SQLITE_OK)