Replace Glib::file_test with sys::exists in Session::path_from_region_name
git-svn-id: svn://localhost/ardour2/trunk@2636 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7b8bfddca6
commit
6dc5e02575
@ -1588,7 +1588,7 @@ Session::path_from_region_name (DataType type, string name, string identifier)
|
||||
n, ext.c_str());
|
||||
}
|
||||
|
||||
if (!Glib::file_test (buf, Glib::FILE_TEST_EXISTS)) {
|
||||
if (!sys::exists (buf)) {
|
||||
return buf;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user