diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-17 13:10:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-17 13:10:42 +0000 |
commit | a5e74a774c6e1b39672392e26ee48385c4ac0034 (patch) | |
tree | adabcf01a62a93c8d09f81daf91935b1e0a3c5cb /libs/ardour/automatable.cc | |
parent | 6ad57df62b5edaaa09fcc604358861ce82e64342 (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/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index d6379eb38e..5ae4e96b4e 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -22,6 +22,9 @@ #include <inttypes.h> #include <cstdio> #include <errno.h> + +#include <glibmm/miscutils.h> + #include "pbd/error.h" #include "pbd/enumwriter.h" @@ -98,7 +101,7 @@ Automatable::load_automation (const string& path) { string fullpath; - if (path[0] == '/') { // legacy + if (Glib::path_is_absolute (path)) { // legacy fullpath = path; } else { fullpath = _a_session.automation_dir(); |