summaryrefslogtreecommitdiff
path: root/libs/ardour/export_filename.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-12-20 13:08:50 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-12-20 13:08:50 +0000
commit57bcb2182fa44ffb04f7b255a5676ef4af879b42 (patch)
tree42c32073d404918ef199a2d257024a5a2a131d88 /libs/ardour/export_filename.cc
parente9f1b1287b62bfa4b1c2dc1113e37be125c60eed (diff)
replace characters that would make an export filename illegal on any/all filesystems with "_"
git-svn-id: svn://localhost/ardour2/branches/3.0@13689 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_filename.cc')
-rw-r--r--libs/ardour/export_filename.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/export_filename.cc b/libs/ardour/export_filename.cc
index d00b0147a7..a5b0a07a60 100644
--- a/libs/ardour/export_filename.cc
+++ b/libs/ardour/export_filename.cc
@@ -33,6 +33,7 @@
#include "ardour/export_timespan.h"
#include "ardour/export_format_specification.h"
#include "ardour/export_channel_configuration.h"
+#include "ardour/utils.h"
#include "i18n.h"
@@ -208,6 +209,8 @@ ExportFilename::get_path (ExportFormatSpecPtr format) const
path += ".";
path += format->extension ();
+ path = legalize_for_universal_path (path);
+
return Glib::build_filename (folder, path);
}