1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Bug 666 - Mac: Cannot "Open" audio files named with "\" using File>Open

This commit is contained in:
Leland Lucius
2021-01-22 01:05:22 -06:00
parent b4a0be99cd
commit 0123a3e3fb
3 changed files with 2 additions and 34 deletions

View File

@@ -39,19 +39,6 @@ public:
// This string is unchanging
//
static const FilePath &GetExecutablePath();
//
// Audacity treats the / as a file separator always for Mac OS,
// however /'s are allowed in the filename. In order for /'s to
// work they muse be treated as :'s. To facilitate this, this
// function should be called when opening or saving a file on
// the Mac. It's important to note that if a / is used in a filename
// and folder exists in the same folder with the same name as the part
// of the file (before the first /) then the file will be saved inside
// of that directory. This function also exists in the FileDialogPrivate
// object
//
static FilePath ConvertSlashInFileName(const FilePath& filePath);
};
#endif