1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00

Bug119: Export Multiple /, *, ? handled incorrectly

This commit is contained in:
Paul Licameli
2016-06-20 22:23:06 -04:00
parent 5e95491bfc
commit 02ce3c312b
4 changed files with 53 additions and 26 deletions

View File

@@ -61,8 +61,11 @@ public:
#endif
/** \brief Check a proposed file name string for illegal characters and
* remove them */
static wxString SanitiseFilename(const wxString &name, const wxString &sub);
* remove them
* return true iff name is "visibly" changed (not necessarily equivalent to
* character-wise changed)
*/
static bool SanitiseFilename(wxString &name, const wxString &sub);
/** \brief Remove accelerator charactors from strings
*
@@ -75,11 +78,13 @@ public:
static wxString Parenthesize(const wxString &str);
static const wxArrayString &GetExcludedCharacters()
{ return exclude; }
private:
static wxChar mDecimalSeparator;
// stuff for file name sanitisation
static wxString forbid;
static wxArrayString exclude;
static wxCharBuffer mFilename;