summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-08-17 13:10:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-08-17 13:10:42 +0000
commita5e74a774c6e1b39672392e26ee48385c4ac0034 (patch)
treeadabcf01a62a93c8d09f81daf91935b1e0a3c5cb /libs/ardour/utils.cc
parent6ad57df62b5edaaa09fcc604358861ce82e64342 (diff)
forward port 2.X changes up to and including rev 6909
git-svn-id: svn://localhost/ardour2/branches/3.0@7639 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index 6f8586648d..a7d5b960f8 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -205,7 +205,7 @@ path_is_paired (ustring path, ustring& pair_base)
/* remove any leading path */
- if ((pos = path.find_last_of ('/')) != string::npos) {
+ if ((pos = path.find_last_of (G_DIR_SEPARATOR)) != string::npos) {
path = path.substr(pos+1);
}