summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-05-22 16:38:36 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-05-22 16:38:36 +0000
commiteb8fa216c237d34f047d3fe0bf63198ad5a95da8 (patch)
tree748577233e9de9a36072a2fcc3df33cafef50ec3 /gtk2_ardour
parent93664a2adac106c3a3bd0346816ef410f234fea4 (diff)
more path-building fixes from colinf
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3388 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/export_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc
index 5fe5a56205..e186f3712e 100644
--- a/gtk2_ardour/export_dialog.cc
+++ b/gtk2_ardour/export_dialog.cc
@@ -1019,12 +1019,12 @@ ExportDialog::start_export ()
string dir = session->export_dir();
string::size_type last_slash;
- if ((last_slash = dir.find_last_of ('/')) != string::npos && last_slash != 0) {
+ if ((last_slash = dir.find_last_of (G_DIR_SEPARATOR_S)) != string::npos && last_slash != 0) {
dir = dir.substr (0, last_slash+1);
}
if (!wants_dir()) {
- dir = dir + "export.wav";
+ dir = dir + "export.wav"; // Glib::build_filename() ?
}
file_entry.set_text (dir);